tessitura_rest 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tessitura_rest/version.rb +1 -1
- data/lib/tessitura_rest/web/cart.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee751d94feccf319e2fb58fe9c89e3886ff8bef25e69c8610ca794b311bd7eae
|
4
|
+
data.tar.gz: fc995be460714a2e19159e983bb1fc9f256b1d2d1c78a0d7cee91899c2610901
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4702d0b7eae978558fdce4c842cef8cdd5f207cedad4c01b071d69920624f6878d942c77ea5374816efe99b3ff2d98f3f634e6a686675964b1586047b1fa9ba
|
7
|
+
data.tar.gz: 12dba5e228fa5fcfdbaf049f001d445e7557e51c3859db894b3169c8c70b616fcb692f9439a428981265b9f0ec9d7e65f0832ad4bfded52ab9bbb11ad8226eeb
|
@@ -297,7 +297,7 @@ module Cart
|
|
297
297
|
self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Checkout"), options)
|
298
298
|
end
|
299
299
|
|
300
|
-
def checkout_with_tms(session_key, order_authorization_code, order_amount, allow_under_payment, payment_method_id, payment_reference, authorize, options = {})
|
300
|
+
def checkout_with_tms(session_key, order_authorization_code, order_amount, allow_under_payment, payment_method_id, payment_reference, authorize, shopper_ip, options = {})
|
301
301
|
parameters =
|
302
302
|
{
|
303
303
|
'CreditCardType': payment_method_id,
|
@@ -307,6 +307,7 @@ module Cart
|
|
307
307
|
'ECommerce': true,
|
308
308
|
'AuthorizationCode': order_authorization_code,
|
309
309
|
'PaymentReference': payment_reference,
|
310
|
+
'ShopperIp': shopper_ip,
|
310
311
|
}
|
311
312
|
options.merge!(basic_auth: @auth, headers: @headers)
|
312
313
|
options.merge!(:body => parameters.to_json, :headers => { 'Content-Type' => 'application/json' })
|
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.3.
|
4
|
+
version: 1.3.8
|
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-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|