tessitura_rest 2.0.2 → 2.0.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d1d3e21a921fc09feb4e8d7ec264f473cbe66ad5dc10b51ac4c5b50a6209676
|
4
|
+
data.tar.gz: 6c8619a26a15a2e6f4b169aad03f57f4669928dadd180181edadf64771bb3db5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aec7f91f212942110db4b9dd7738fe8eee6cbf66d59d07c89c7533ba20d76778cc02a9dd3f1610457c1ab21d58a70b31f0cbf4b238004a5c26bc43d0247499da
|
7
|
+
data.tar.gz: f2ec563c2a94ce2733a53e4175a25f3c69429d4c3d0d7489b4a9b7b852384339468e3bc5f2a923c2cbc6db95d35f6ad9e6f890a5dbe7baf86764edf70121b647
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module PaymentGateway
|
2
|
-
def authorize_payment(amount, store_card, payload, payment_id, return_url,
|
2
|
+
def authorize_payment(amount, store_card, payload, payment_id, return_url, constituent, shopper_ip, address, delivery_date, options = {})
|
3
3
|
parameters = {
|
4
4
|
'Amount': amount,
|
5
5
|
'StoreAccount': store_card,
|
@@ -7,12 +7,17 @@ module PaymentGateway
|
|
7
7
|
'TessituraMerchantServicesData': payload,
|
8
8
|
},
|
9
9
|
'PaymentId': payment_id,
|
10
|
-
'ConstituentId':
|
10
|
+
'ConstituentId': constituent.customer_no,
|
11
11
|
'TransactionOrigin': 'webapi',
|
12
12
|
'PaymentMethodId': 606,
|
13
13
|
'ReturnUrl': return_url,
|
14
14
|
'IsECommerce': true,
|
15
15
|
'ShopperIp': shopper_ip,
|
16
|
+
'ShopperEmail': constituent.email,
|
17
|
+
'ShopperName': {
|
18
|
+
'FirstName': constituent.first_name,
|
19
|
+
'LastName': constituent.last_name,
|
20
|
+
},
|
16
21
|
'BillingAddress': {
|
17
22
|
'PostalCode': address.postal_code,
|
18
23
|
'Street1': address.street1,
|
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: 2.0.
|
4
|
+
version: 2.0.4
|
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: 2024-
|
11
|
+
date: 2024-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|