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 +5 -5
- data/lib/amazon_pay/client.rb +5 -2
- data/lib/amazon_pay/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: fe42cd1c1161cf3ad88ccba66c243e7b816729672ab136c3a99e33ff1caceb53
|
|
4
|
+
data.tar.gz: 0e628bdcc508d9705e869cc30c4ed18fdd45cb32991459f181823cbb88dbf735
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa3bebaa9bf5dcdceef3eebdf283ff48bbf335030e02db6d9f51241108a9f412eebadd18e07776cb7660f04ac31e13fd22fb14e17750cc7f2ddf4df81df133c7
|
|
7
|
+
data.tar.gz: 3adbe8158ad59d28a286c13e80900137ea8e86e10e9b94dd39967c156cc9db262f67f357e27e61c668419d0b2e89d7d568763c9a9cf140118c6e407142e91a03
|
data/lib/amazon_pay/client.rb
CHANGED
|
@@ -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?
|
data/lib/amazon_pay/version.rb
CHANGED
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.
|
|
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:
|
|
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.
|
|
52
|
+
rubygems_version: 2.7.6.2
|
|
53
53
|
signing_key:
|
|
54
54
|
specification_version: 4
|
|
55
55
|
summary: AmazonPay Ruby SDK
|