tessitura_rest 1.3.2 → 1.3.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: 3061c6a12b547dd995452b956f3e23a0460bd9052b76a6090c8b91e16b7d8147
4
- data.tar.gz: '04098a87fc60f2312dd4a98b2d0d2a7c41bfcc7877a76243a6e8a50708fcf8c5'
3
+ metadata.gz: 322424ca7ae450360f9250c051359baa55bd59ee0fa98c9a7e7a3188e5ffa694
4
+ data.tar.gz: 358b8b9fb2da9df563e8ccc0191e9b4b8c77a5ad967b5349f607a5009193da0b
5
5
  SHA512:
6
- metadata.gz: f786ac622d9ddf3244a0e910762053b55e8fc174deebcbc705501cef3899e09d357efb0b2d4af37803c0e89cfbb91119ec52652fa4b316b635a5dda6ecd6f694
7
- data.tar.gz: de37b257d2c9bf6e188beb8c3962f4cee795e63b16e5255cbe5897757f650496abd3eb98d89b5a4c9129f960e4e2d1c37b04df15258369432d4e31915112e514
6
+ metadata.gz: 818d95e62b76585fde92afa58973fd746f7f31f2d0100ade30ab0243a44a49fa803d512fcda6939ffce680795e3ebf1d181ef614e4fa87b47aebf7925b2fe985
7
+ data.tar.gz: 04ca22569fccfc9d0bdc4896872749c32941c4ba0352d23ffae552dbe0b58999fd40e25f2bb0fb3c8ad6b1a2e2e6ff1f6f4a070910cadd2e202d944da6047d68
@@ -17,10 +17,11 @@ module PaymentGateway
17
17
  self.class.post(base_api_endpoint('PaymentGateway/Authorization/Authorize'), options)
18
18
  end
19
19
 
20
- def finalize_payment(payload, payment_id, options = {})
20
+ def finalize_payment(payload, payment_id, store_account, options = {})
21
21
  parameters = {
22
22
  'PaymentId': payment_id,
23
23
  'RedirectResult': payload,
24
+ 'StoreAccount': store_account,
24
25
  }
25
26
  options.merge!(basic_auth: @auth, headers: @headers)
26
27
  options.merge!(:body => parameters)
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '1.3.2'.freeze
2
+ VERSION = '1.3.4'.freeze
3
3
  end
@@ -297,13 +297,13 @@ 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, options = {})
300
+ def checkout_with_tms(session_key, order_authorization_code, order_amount, allow_under_payment, payment_method_id, payment_reference, authorize, options = {})
301
301
  parameters =
302
302
  {
303
303
  'CreditCardType': payment_method_id,
304
304
  'Amount': order_amount,
305
305
  'AllowUnderPayment': allow_under_payment,
306
- 'Authorize': false,
306
+ 'Authorize': authorize,
307
307
  'ECommerce': true,
308
308
  'AuthorizationCode': order_authorization_code,
309
309
  'PaymentReference': payment_reference,
@@ -314,7 +314,7 @@ module Cart
314
314
  end
315
315
 
316
316
  def checkout_with_zip(session_key, name_on_card, credit_card_number, cvv_number, credit_card_type, expiration_month, expiration_year, zip_code, is_order_authorized, order_authorization_code, order_amount, allow_under_payment,
317
- options = {})
317
+ options = {})
318
318
  parameters =
319
319
  {
320
320
  'CreditCardOwner': name_on_card,
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.2
4
+ version: 1.3.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: 2023-04-28 00:00:00.000000000 Z
11
+ date: 2023-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler