tessitura_rest 1.4.4 → 1.4.5
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f90d3d46f6652e4029bdd7e5f7e7c0146e420478203dcfc18de15bedd5430610
|
4
|
+
data.tar.gz: 566e4466f029dd554f028de2749e62a6c516c2fc64f08f3d5dba37f99c3be7ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0c24f3beb66480bebeca1174a5fb9bb9049c92fd7751e42e598999f74022e76d7922817928b11cd9cb108439a9d26f7139b8c2d35a9c8022afa18f925787332
|
7
|
+
data.tar.gz: 1b60b10a2bf41e7b4dad9b4668c48300851b7579962f704caf48b491d78bfd5054ea23a24b6fda00aef78e38ad9281d7eb59a6486c435f705a14ce0c8958d135
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module PaymentGateway
|
2
|
-
def authorize_payment(amount, store_card, payload, payment_id, return_url, constituent_id, shopper_ip, options = {})
|
2
|
+
def authorize_payment(amount, store_card, payload, payment_id, return_url, constituent_id, shopper_ip, address, options = {})
|
3
3
|
parameters = {
|
4
4
|
'Amount': amount,
|
5
5
|
'StoreAccount': store_card,
|
@@ -12,7 +12,12 @@ module PaymentGateway
|
|
12
12
|
'PaymentMethodId': 606,
|
13
13
|
'ReturnUrl': return_url,
|
14
14
|
'IsECommerce': true,
|
15
|
-
'ShopperIp': shopper_ip
|
15
|
+
'ShopperIp': shopper_ip,
|
16
|
+
'BillingAddress': {
|
17
|
+
'PostalCode': address.postal_code,
|
18
|
+
'Street1': address.street1,
|
19
|
+
'AddressId': address.id
|
20
|
+
},
|
16
21
|
}
|
17
22
|
options.merge!(basic_auth: @auth, headers: @headers)
|
18
23
|
options.merge!(:body => parameters)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tessitura_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|