authorizenetsample 1.1.8 → 1.1.9

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: 8e096d4267d603adfa8623ab0aa502aabd2d8f95
4
- data.tar.gz: ce98658e278912db5ddcf4176a70651fc9d4fb66
3
+ metadata.gz: 78151bf69d37cbf19f535dd356cd378e51f2f81a
4
+ data.tar.gz: 4a83a9b9d2671a338ac255d87d6ebe03b328a99f
5
5
  SHA512:
6
- metadata.gz: 617119764c160a5b0b2d08c1fe7423163663a7e7418478b600e69513de1dbe6e0a235cc619fbb5b168df81703f858d9682f1d167a5b07bd431a48495eb3474e2
7
- data.tar.gz: 05f821ae874bedd030848c72a19c01b00bc9aff518cd0dc23803b3ca2b2d236e2a58d88b366eb2e5eda5cef595dadc9abffd3d47e6b20099527fb5095b9f1f41
6
+ metadata.gz: d2e5a8061fc6faf1684dcc4a0a14a2634555b0c418182c058328d5cee49d949f3780e44bc6f106a960c823be126a33a6f51ec5e222c167e23b282c5a0be5368c
7
+ data.tar.gz: 163ebdebb88445eaf5600566936b9cbdd38bad657d67fa78771a9374f1bd2694a2052817cd839a873d6d11a95bc158ea56c8a5d2d83e98e0aeb9ccf59efaf450
@@ -14,17 +14,17 @@ require 'securerandom'
14
14
 
15
15
  request = CreateTransactionRequest.new
16
16
 
17
- billTo = CustomerAddressType.new
18
- billTo.firstName = "John"
19
- billTo.lastName = "Doe"
20
- billTo.address = "123 My St"
21
- billTo.city = "OurTown"
22
- billTo.zip = "98004"
17
+ # billTo = CustomerAddressType.new
18
+ # billTo.firstName = "John"
19
+ # billTo.lastName = "Doe"
20
+ # billTo.address = "123 My St"
21
+ # billTo.city = "OurTown"
22
+ # billTo.zip = "98004"
23
23
 
24
24
  request.transactionRequest = TransactionRequestType.new()
25
25
  # request.transactionRequest.amount = ((SecureRandom.random_number + 1 ) * 150 ).round(2)
26
26
  request.transactionRequest.amount = 99
27
- request.transactionRequest.billTo = billTo
27
+ # request.transactionRequest.billTo = billTo
28
28
  request.transactionRequest.payment = PaymentType.new
29
29
  # request.transactionRequest.payment.opaqueData = OpaqueDataType.new('COMMON.ACCEPT.INAPP.PAYMENT','eyJjb2RlIjoiNTBfMl8wNjAwMDUzQTczNERGMDY0MUMyMzUxMkIyQTM2MUE3QTBFQUQ4NTIxQ0EzQjM3MUU1REMyMjlEQkYwMjRERjI5QzdFOTJBMDIzNzJGRDVDQkI0ODRDMTQ2NDYyQ0U4NkFCRjA0Q0Y3IiwidG9rZW4iOiI5NTM5MzYyNzY1NjM2NTgyODA0NjA0IiwidiI6IjEuMSJ9')
30
30
  request.transactionRequest.payment.opaqueData = OpaqueDataType.new('COMMON.ACCEPT.INAPP.PAYMENT',token)
@@ -16,7 +16,7 @@ require 'securerandom'
16
16
  custProfile.customerProfileId = customerId
17
17
 
18
18
  transactionRequest = TransactionRequestType.new
19
- transactionRequest.amount = 99.00
19
+ transactionRequest.amount = 99
20
20
  transactionRequest.transactionType = TransactionTypeEnum::AuthCaptureTransaction
21
21
  transactionRequest.profile = custProfile
22
22
 
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.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Authorize.Net