mangopay4-ruby-sdk 3.47.0 → 3.48.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/CHANGELOG.md +4 -0
- data/lib/mangopay/pay_in.rb +0 -16
- data/lib/mangopay/version.rb +1 -1
- data/spec/mangopay/shared_resources.rb +1 -29
- metadata +2 -4
- data/spec/mangopay/payin_payconiq_web_spec.rb +0 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 674878e4aba915f0f767a1a58f76f9330bb0000628d0ea0d5fca7ca124eaa3bc
|
|
4
|
+
data.tar.gz: 5a4dcd8a5b50557536daf8f57b82fb8ebefa8c73cb963a4e5087ab6dfaf6b4e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d69b73f8eba11516e2cd4c93992732a0eddcc02ab3ba6aa9779b9c692b3a827f17078dba7ce6654d3e2dccf59ab218717dc58111c368ebf790eb17bef05b5df2
|
|
7
|
+
data.tar.gz: f1c53aa135c0f4343522bb7d5df8c65ae7d31654a42075cc39322ecbb394c4538777458b54e369bf9dec1549c3b5e9502246d3186b2d716dc2f29016a77ac46e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [3.48.0] - 2026-03-25
|
|
2
|
+
### Removed
|
|
3
|
+
- Payconiq PayIn (`MangoPay::PayIn::PayconiqWeb::Create`) removed following provider discontinuation on 4 Dec 2025 (#334)
|
|
4
|
+
|
|
1
5
|
## [3.47.0] - 2026-03-19
|
|
2
6
|
### Added - mTLS certificates support
|
|
3
7
|
- mTLS certificates are now configurable in the SDK via file paths or encoded strings
|
data/lib/mangopay/pay_in.rb
CHANGED
|
@@ -147,22 +147,6 @@ module MangoPay
|
|
|
147
147
|
|
|
148
148
|
end
|
|
149
149
|
|
|
150
|
-
module Payconiq
|
|
151
|
-
|
|
152
|
-
class Web < Resource
|
|
153
|
-
include HTTPCalls::Create
|
|
154
|
-
|
|
155
|
-
def self.url(*)
|
|
156
|
-
"#{MangoPay.api_path}/payins/payment-methods/payconiq"
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
def self.create_legacy(params, idempotency_key = nil)
|
|
160
|
-
MangoPay.request(:post, "#{MangoPay.api_path}/payins/payconiq/web", params, {}, idempotency_key)
|
|
161
|
-
end
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
end
|
|
165
|
-
|
|
166
150
|
module ApplePay
|
|
167
151
|
class Direct < Resource
|
|
168
152
|
include HTTPCalls::Create
|
data/lib/mangopay/version.rb
CHANGED
|
@@ -358,34 +358,6 @@ shared_context 'payins' do
|
|
|
358
358
|
)
|
|
359
359
|
end
|
|
360
360
|
|
|
361
|
-
###############################################
|
|
362
|
-
# payconiq/web
|
|
363
|
-
###############################################
|
|
364
|
-
|
|
365
|
-
let(:new_payin_payconiq_web) do
|
|
366
|
-
MangoPay::PayIn::Payconiq::Web.create(
|
|
367
|
-
AuthorId: new_natural_user['Id'],
|
|
368
|
-
CreditedWalletId: new_wallet['Id'],
|
|
369
|
-
DebitedFunds: { Currency: 'EUR', Amount: 100 },
|
|
370
|
-
Fees: { Currency: 'EUR', Amount: 0 },
|
|
371
|
-
ReturnURL: MangoPay.configuration.root_url,
|
|
372
|
-
Country: "BE",
|
|
373
|
-
Tag: 'Custom Meta'
|
|
374
|
-
)
|
|
375
|
-
end
|
|
376
|
-
|
|
377
|
-
let(:new_payin_payconiq_web_legacy) do
|
|
378
|
-
MangoPay::PayIn::Payconiq::Web.create_legacy(
|
|
379
|
-
AuthorId: new_natural_user['Id'],
|
|
380
|
-
CreditedWalletId: new_wallet['Id'],
|
|
381
|
-
DebitedFunds: { Currency: 'EUR', Amount: 100 },
|
|
382
|
-
Fees: { Currency: 'EUR', Amount: 0 },
|
|
383
|
-
ReturnURL: MangoPay.configuration.root_url,
|
|
384
|
-
Country: "BE",
|
|
385
|
-
Tag: 'Custom Meta'
|
|
386
|
-
)
|
|
387
|
-
end
|
|
388
|
-
|
|
389
361
|
###############################################
|
|
390
362
|
# applepay/direct
|
|
391
363
|
###############################################
|
|
@@ -1225,7 +1197,7 @@ shared_context 'instant_conversion' do
|
|
|
1225
1197
|
},
|
|
1226
1198
|
Fees: {
|
|
1227
1199
|
Currency: 'EUR',
|
|
1228
|
-
Amount:
|
|
1200
|
+
Amount: 10,
|
|
1229
1201
|
Type: 'PERCENTAGE'
|
|
1230
1202
|
},
|
|
1231
1203
|
Tag: 'Instant conversion test'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mangopay4-ruby-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.48.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geoffroy Lorieux
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-03-
|
|
12
|
+
date: 2026-03-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: multi_json
|
|
@@ -159,7 +159,6 @@ files:
|
|
|
159
159
|
- spec/mangopay/payin_mbway_web_spec.rb
|
|
160
160
|
- spec/mangopay/payin_multibanco_web_spec.rb
|
|
161
161
|
- spec/mangopay/payin_paybybank_web_spec.rb
|
|
162
|
-
- spec/mangopay/payin_payconiq_web_spec.rb
|
|
163
162
|
- spec/mangopay/payin_paypal_web_spec.rb
|
|
164
163
|
- spec/mangopay/payin_preauthorized_direct_spec.rb
|
|
165
164
|
- spec/mangopay/payin_satispay_web_spec.rb
|
|
@@ -251,7 +250,6 @@ test_files:
|
|
|
251
250
|
- spec/mangopay/payin_mbway_web_spec.rb
|
|
252
251
|
- spec/mangopay/payin_multibanco_web_spec.rb
|
|
253
252
|
- spec/mangopay/payin_paybybank_web_spec.rb
|
|
254
|
-
- spec/mangopay/payin_payconiq_web_spec.rb
|
|
255
253
|
- spec/mangopay/payin_paypal_web_spec.rb
|
|
256
254
|
- spec/mangopay/payin_preauthorized_direct_spec.rb
|
|
257
255
|
- spec/mangopay/payin_satispay_web_spec.rb
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
describe MangoPay::PayIn::Payconiq::Web, type: :feature do
|
|
2
|
-
include_context 'payins'
|
|
3
|
-
|
|
4
|
-
def check_type_and_status(payin)
|
|
5
|
-
expect(payin['Type']).to eq('PAYIN')
|
|
6
|
-
expect(payin['Nature']).to eq('REGULAR')
|
|
7
|
-
expect(payin['PaymentType']).to eq('PAYCONIQ')
|
|
8
|
-
expect(payin['ExecutionType']).to eq('WEB')
|
|
9
|
-
|
|
10
|
-
# not SUCCEEDED yet: waiting for processing
|
|
11
|
-
expect(payin['Status']).to eq('CREATED')
|
|
12
|
-
expect(payin['ResultCode']).to be_nil
|
|
13
|
-
expect(payin['ResultMessage']).to be_nil
|
|
14
|
-
expect(payin['ExecutionDate']).to be_nil
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
describe 'CREATE' do
|
|
18
|
-
it 'creates a payconiq web payin' do
|
|
19
|
-
created = new_payin_payconiq_web
|
|
20
|
-
expect(created['Id']).not_to be_nil
|
|
21
|
-
check_type_and_status(created)
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
# endpoint removed
|
|
25
|
-
xit 'creates a payconiq web payin using the old endpoint' do
|
|
26
|
-
created = new_payin_payconiq_web_legacy
|
|
27
|
-
expect(created['Id']).not_to be_nil
|
|
28
|
-
check_type_and_status(created)
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
end
|