Sha256: f398e4273317a59b3238e2155a11e7019e443fc51729cb4855c0317fca95eb1a

Contents?: true

Size: 1.74 KB

Versions: 5

Compression:

Stored size: 1.74 KB

Contents

# frozen_string_literal: true

Bckbn.api_base = "http://localhost:8080"
Bckbn.access_token = "foobar"
Bckbn.merchant_id = "101"

module Seeds
  AUTH = {
    amount: 5000,
    bill_to_address: {
      name: "John Doe",
      address_line_1: "123 Main St",
      city: "Boston",
      state: "MA",
      country: "US",
      zip: "12345",
      email: "jsmith@someaddress.com",
      phone: "555-123-4567"
    },
    card: {
      type: "MC",
      number: "{{1234567890123456}}",
      exp_date: "1223"
    },
    id: "12345",
    order_id: "5234234",
    order_source: "ecommerce",
    partial: false,
    report_group: "ABC Division"
  }.freeze

  SALE = {
    id: "12345",
    report_group: "ABC Division",
    amount: 5000,
    "card": {
      "type": "VI",
      "number": "{{1234567890123456}}",
      "exp_date": "1223",
      "card_validation_num": "123"
    },
    "bill_to_address": {
      "name": "John Doe",
      "address_line_1": "123 Main St",
      "city": "Boston",
      "state": "MA",
      "country": "US",
      "zip": "12345",
      "email": "jsmith@someaddress.com",
      "phone": "555-123-4567"
    },
    partial: false,
    order_id: "5234234",
    order_source: "ecommerce"
  }.freeze

  ECHECK_SALE = {
    "echeck": {
      "acc_type": "Checking",
      "acc_num": "5186005800001012",
      "routing_num": "000010101",
      "check_num": nil
    },
    "bill_to_address": {
      "name": "John Doe",
      "address_line_1": "123 Main St",
      "city": "Boston",
      "state": "MA",
      "country": "US",
      "zip": "12345",
      "email": "jsmith@someaddress.com",
      "phone": "555-123-4567"
    },
    "amount": 5000,
    "id": "12345",
    "report_group": "ABC Division",
    "order_id": "5234234",
    "order_source": "ecommerce"
  }.freeze
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bckbn-1.0.0 .irbrc
bckbn-0.2.0 .irbrc
bckbn-0.1.2 .irbrc
bckbn-0.1.1 .irbrc
bckbn-0.1.0 .irbrc