docdata-order 2.2.0 → 2.3.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 +4 -4
- data/README.md +1 -3
- data/lib/docdata/order/request.rb +5 -3
- data/lib/docdata/order/version.rb +1 -1
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 590985b29272c02538fc431cd9d8d1c0aac3ec95d960732d7f9e9086c3c031a2
|
4
|
+
data.tar.gz: bc7ee9aad6969ed3356edb7eaa95082149e04823e5663e9668b7c44cf088ca18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dc9102ac8c43271c37e89280d5af148f492c54ee3af3c26ba48f67618e614319b42aea2eb8c72a1df05274ea9a9583dc1fab09d31a5a159f784f11dfbbff0a8
|
7
|
+
data.tar.gz: 6009315e800b314617239ad87bbb790f77512329b38400e26b516a36453cb1fa73b808ecb8085c48e0e24bce59b9f68b4efec3f4883cfb3c43681abd485a64f6
|
data/README.md
CHANGED
@@ -105,12 +105,11 @@ The `redirect_url` in the response will redirect the user to the Docdata Payment
|
|
105
105
|
#### Redirecting directly to the payment page
|
106
106
|
|
107
107
|
For some payment methods you can skip the Docdata One Page Checkout and redirect directly to the payment page of the specified payment method.
|
108
|
-
This works for the payment methods iDEAL, Sofort and PayPal.
|
108
|
+
This works for the payment methods iDEAL, Sofort and PayPal.
|
109
109
|
|
110
110
|
```ruby
|
111
111
|
response = client.create(options.merge(
|
112
112
|
payment_method: Docdata::Order::PaymentMethod::IDEAL,
|
113
|
-
issuer_id: "INGBNL2A",
|
114
113
|
return_url: "http://yourwebshop.nl/payment_return"
|
115
114
|
))
|
116
115
|
```
|
@@ -218,4 +217,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/Kentaa
|
|
218
217
|
## License
|
219
218
|
|
220
219
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
221
|
-
|
@@ -292,8 +292,10 @@ module Docdata
|
|
292
292
|
|
293
293
|
case payment_method
|
294
294
|
when PaymentMethod::IDEAL
|
295
|
-
|
296
|
-
input
|
295
|
+
if issuer_id
|
296
|
+
payment.iDealPaymentInput do |input|
|
297
|
+
input.issuerId(issuer_id)
|
298
|
+
end
|
297
299
|
end
|
298
300
|
when PaymentMethod::SEPA_DIRECT_DEBIT
|
299
301
|
payment.directDebitPaymentInput do |input|
|
@@ -319,7 +321,7 @@ module Docdata
|
|
319
321
|
end
|
320
322
|
|
321
323
|
def issuer_id
|
322
|
-
options
|
324
|
+
options[:issuer_id]
|
323
325
|
end
|
324
326
|
|
325
327
|
def consumer_name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docdata-order
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kentaa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bigdecimal
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: savon
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,14 +132,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
132
|
requirements:
|
119
133
|
- - ">="
|
120
134
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
135
|
+
version: 3.0.0
|
122
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
137
|
requirements:
|
124
138
|
- - ">="
|
125
139
|
- !ruby/object:Gem::Version
|
126
140
|
version: '0'
|
127
141
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.2.33
|
129
143
|
signing_key:
|
130
144
|
specification_version: 4
|
131
145
|
summary: Ruby client for the Docdata Order API
|