authorizenetsample 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34e0266391444b36aa5d8cecd7780c459fb8eb3b
4
- data.tar.gz: 1446f08d8cfe51d136c74289bc6feff0a0f9ea51
3
+ metadata.gz: 2a7eb0ca7fe10aa43133273a256be78a6176bfec
4
+ data.tar.gz: 69afb4496094d0dc5185729c512f0853cba2f598
5
5
  SHA512:
6
- metadata.gz: cdca21e9cdffd284e7afcd13187519393dac2e07ab8b086ebcf620a219cfb0611169f086c360709a5d4f654ea2c5cb0f3720d87cd4d6acab66c7148688c53378
7
- data.tar.gz: 46af53b361d137bf4c536704343328a4762ded438068d49115c066cb02f513b6758791aac08042e36a4e78bd822e60959676e09239e3a05f9e20c7733b05802e
6
+ metadata.gz: d716c09aea8d2df4a4a2209ab2310e2979906b17d3d2d3e17c8fd51c8286f6c24fc8c155ebe49c7141753f3e10acce7dd829f3dbda2254b7a97e75330b0cfc0a
7
+ data.tar.gz: 410ad1cbdd01529ed5c34a4c9fbbb2f2c68cd25168455105347a3fdeacf3ec25c67ebd3f49a144db06a865172aed8da49a842f62855b5592bd14035ad6b0d3a3
@@ -8,7 +8,9 @@ require 'securerandom'
8
8
  def get_accept_customer_profile_page(api_login_id,api_transaction_key,iframeCommunicatorUrl,customerProfileId = '37696245')
9
9
  config = YAML.load_file(File.dirname(__FILE__) + "/../credentials.yml")
10
10
 
11
- transaction = Transaction.new(config['api_login_id'], config['api_transaction_key'], :gateway => :sandbox)
11
+ # transaction = Transaction.new(config['api_login_id'], config['api_transaction_key'], :gateway => :sandbox)
12
+
13
+ transaction = Transaction.new(api_login_id, api_transaction_key, :gateway => :sandbox)
12
14
 
13
15
  setting = SettingType.new
14
16
  setting.settingName = SettingNameEnum::HostedProfileReturnUrl
@@ -8,7 +8,9 @@ require 'securerandom'
8
8
  def get_customer_profile(api_login_id,api_transaction_key,customerProfileId = '40036377')
9
9
  config = YAML.load_file(File.dirname(__FILE__) + "/../credentials.yml")
10
10
 
11
- transaction = Transaction.new(config['api_login_id'], config['api_transaction_key'], :gateway => :sandbox)
11
+ # transaction = Transaction.new(config['api_login_id'], config['api_transaction_key'], :gateway => :sandbox)
12
+
13
+ transaction = Transaction.new(api_login_id, api_transaction_key, :gateway => :sandbox)
12
14
 
13
15
 
14
16
  request = GetCustomerProfileRequest.new
@@ -9,7 +9,8 @@ require 'securerandom'
9
9
  puts File.dirname(__FILE__)
10
10
  config = YAML.load_file(File.dirname(__FILE__) + "/../credentials.yml")
11
11
 
12
- transaction = Transaction.new(config['api_login_id'], config['api_transaction_key'], :gateway => :sandbox)
12
+ # transaction = Transaction.new(config['api_login_id'], config['api_transaction_key'], :gateway => :sandbox)
13
+ transaction = Transaction.new(api_login_id, api_transaction_key, :gateway => :sandbox)
13
14
 
14
15
  request = CreateTransactionRequest.new
15
16
 
@@ -8,7 +8,9 @@ require 'securerandom'
8
8
  def get_an_accept_payment_page(api_login_id,api_transaction_key,customerId=nil,iframeCommunicatorUrl)
9
9
  config = YAML.load_file(File.dirname(__FILE__) + "/../credentials.yml")
10
10
 
11
- transaction = Transaction.new(config['api_login_id'], config['api_transaction_key'], :gateway => :sandbox)
11
+ # transaction = Transaction.new(config['api_login_id'], config['api_transaction_key'], :gateway => :sandbox)
12
+
13
+ transaction = Transaction.new(api_login_id, api_transaction_key, :gateway => :sandbox)
12
14
 
13
15
  custProfile = CustomerProfilePaymentType.new
14
16
  custProfile.customerProfileId = customerId
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authorizenetsample
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Authorize.Net