authorizenetsample 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a7eb0ca7fe10aa43133273a256be78a6176bfec
|
4
|
+
data.tar.gz: 69afb4496094d0dc5185729c512f0853cba2f598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|