amazon_pay 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 59af09c5d1215202ec9597064f1b00126ce8455a
4
- data.tar.gz: 99e445995ae1c2d8f210adaa63b89d30d11438e0
2
+ SHA256:
3
+ metadata.gz: fe42cd1c1161cf3ad88ccba66c243e7b816729672ab136c3a99e33ff1caceb53
4
+ data.tar.gz: 0e628bdcc508d9705e869cc30c4ed18fdd45cb32991459f181823cbb88dbf735
5
5
  SHA512:
6
- metadata.gz: 14175c20c84059b47a09de1f07e4f0e8c53504f97816df1b2e063689d61b2a987a83b0bbed467eb44878472f3161e8093991c31adc39b8175a9bc5ebaed2459c
7
- data.tar.gz: dbb36bcefe239b499210afa0465cec1864d4fd32806553f4d81cf47c566cf2c7ee98b80ad7011324256a7bcb4f17db7617f997ea726c5c8f9bd34e9712748e0b
6
+ metadata.gz: fa3bebaa9bf5dcdceef3eebdf283ff48bbf335030e02db6d9f51241108a9f412eebadd18e07776cb7660f04ac31e13fd22fb14e17750cc7f2ddf4df81df133c7
7
+ data.tar.gz: 3adbe8158ad59d28a286c13e80900137ea8e86e10e9b94dd39967c156cc9db262f67f357e27e61c668419d0b2e89d7d568763c9a9cf140118c6e407142e91a03
@@ -669,6 +669,7 @@ module AmazonPay
669
669
  # @optional currency_code [String]
670
670
  # @optional merchant_id [String]
671
671
  # @optional mws_auth_token [String]
672
+ # @optional expect_immediate_authorization [Boolean]
672
673
  def confirm_order_reference(
673
674
  amazon_order_reference_id,
674
675
  success_url: nil,
@@ -676,7 +677,8 @@ module AmazonPay
676
677
  authorization_amount: nil,
677
678
  currency_code: @currency_code,
678
679
  merchant_id: @merchant_id,
679
- mws_auth_token: nil
680
+ mws_auth_token: nil,
681
+ expect_immediate_authorization: nil
680
682
  )
681
683
 
682
684
  parameters = {
@@ -690,7 +692,8 @@ module AmazonPay
690
692
  'FailureUrl' => failure_url,
691
693
  'AuthorizationAmount.Amount' => authorization_amount,
692
694
  'AuthorizationAmount.CurrencyCode' => currency_code,
693
- 'MWSAuthToken' => mws_auth_token
695
+ 'MWSAuthToken' => mws_auth_token,
696
+ 'ExpectImmediateAuthorization' => expect_immediate_authorization
694
697
  }
695
698
 
696
699
  optional['AuthorizationAmount.CurrencyCode'] = nil if authorization_amount.nil?
@@ -1,5 +1,5 @@
1
1
  module AmazonPay
2
- VERSION = '2.5.0'.freeze
2
+ VERSION = '2.6.0'.freeze
3
3
  SDK_NAME = 'amazon-pay-sdk-ruby'.freeze
4
4
  API_VERSION = '2013-01-01'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon_pay
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AmazonPay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-29 00:00:00.000000000 Z
11
+ date: 2021-02-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: AmazonPay Ruby SDK
14
14
  email: amazon-pay-sdk@amazon.com
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  version: '0'
50
50
  requirements: []
51
51
  rubyforge_project:
52
- rubygems_version: 2.6.14
52
+ rubygems_version: 2.7.6.2
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: AmazonPay Ruby SDK