mangopay 3.7.0 → 3.8.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 +10 -0
- data/lib/mangopay/pay_in.rb +2 -0
- data/lib/mangopay/version.rb +1 -1
- data/spec/mangopay/recurring_payin_spec.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16def874b468b39fb00308d965802ef6a6fdb42ba9cb7d18a3a422a687d1d1fa
|
4
|
+
data.tar.gz: 18f0e0c679919c7e5849ac5052fb2490bc619142901c11fee81ccc4e3dd46e33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0678869fba9e64e0cbf5ed3c4ca2d9fb579aa99b99ade388e2e314d32ee277c53d49f784f225e098a1dda540ace70f08dbd0da2fe4a08e62d8d639db4a912c6
|
7
|
+
data.tar.gz: aac5ed97bc8e8e7aef927489c221a9428c54683e037c4059083f64b2003757761f511a74d84776c0a54e492754843d79eec2332a8c712768f3ec6e1863d5103d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## [3.8.0] - 2021.10.20
|
2
|
+
## Added
|
3
|
+
|
4
|
+
You can now change the status to "ENDED" for a recurring payment.
|
5
|
+
|
6
|
+
## Fixed
|
7
|
+
|
8
|
+
- "Status" is now available in the response when you request a recurring payment registration.
|
9
|
+
|
10
|
+
|
1
11
|
## [3.7.0] - 2021.10.11
|
2
12
|
## Added
|
3
13
|
|
data/lib/mangopay/pay_in.rb
CHANGED
data/lib/mangopay/version.rb
CHANGED
@@ -40,6 +40,12 @@ describe MangoPay::PayIn::RecurringPayments, type: :feature do
|
|
40
40
|
}
|
41
41
|
)
|
42
42
|
expect(recurring).not_to be_nil
|
43
|
+
expect(recurring['Status']).not_to be_nil
|
44
|
+
expect(recurring['Id']).not_to be_nil
|
45
|
+
id = recurring['Id']
|
46
|
+
|
47
|
+
get = MangoPay::PayIn::RecurringPayments::Recurring.fetch(id)
|
48
|
+
expect(get).not_to be_nil
|
43
49
|
|
44
50
|
cit = MangoPay::PayIn::RecurringPayments::CIT.create(
|
45
51
|
RecurringPayinRegistrationId: recurring['Id'],
|
@@ -61,6 +67,12 @@ describe MangoPay::PayIn::RecurringPayments, type: :feature do
|
|
61
67
|
)
|
62
68
|
|
63
69
|
expect(cit).not_to be_nil
|
70
|
+
|
71
|
+
update = MangoPay::PayIn::RecurringPayments::Recurring.update(id, {
|
72
|
+
Status: 'Ended'
|
73
|
+
})
|
74
|
+
|
75
|
+
expect(update).not_to be_nil
|
64
76
|
end
|
65
77
|
end
|
66
78
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mangopay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.8.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: 2021-10-
|
12
|
+
date: 2021-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|