mangopay 3.0.38 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf7447c17143576fc551c5360bd879c107d30c8311b684d7a6e85fbbd924634f
4
- data.tar.gz: b7fba691a647737ffc2a055214fe78c5b9b54c4c1b44b6796dd3333d1e6b6172
3
+ metadata.gz: 554ec8fa7bc91e270e8869d4528b8bc3862cb3ddb30c045997bc344035b8ca08
4
+ data.tar.gz: 013220a93875bf4f632bdac8e2d2d1487a38e55bea729ae59e6aa110bccf5fd6
5
5
  SHA512:
6
- metadata.gz: ebba688cb4bdec07a07bc7bd56076e381282cfc0d32dd8c619bdab17d300eb545cc95a4961a72a24fff3674d96c6046aa5cd706af2aabb6b894c1e800501785f
7
- data.tar.gz: 6b15d0fc47ed468ac522bdda90542839de2ec6d9759ce2568386b9c1c6a45c285280a73ce7a7de9ec642c66228a79867b53e15051d229d582e073a662e6a6976
6
+ metadata.gz: 96c0f3ebec6a9cde917fe55369392b052c6150e744f99e1f1071f96285473e2ff09733de03c95c6454e5ba2806f1bf120306222cb6fac5767c73205f8d43ad4d
7
+ data.tar.gz: 86b7d456b621a10faba22021c3a5da4ffa922f4cd47c131c4df59740e532a8bd356a3a762e43a3f065d9e895573de0601575610a0a60b495be61b681f426a166
data/.travis.yml CHANGED
@@ -6,7 +6,8 @@ rvm:
6
6
  # - 2.3
7
7
  # - 2.4
8
8
  - 2.5
9
- script: bundle exec rspec
9
+ script:
10
+ - if [ $TRAVIS_BRANCH != "release" ]; then bundle exec rspec; fi
10
11
  deploy:
11
12
  provider: rubygems
12
13
  api_key:
data/CHANGELOG.md CHANGED
@@ -1,8 +1,14 @@
1
- ## [3.0.38] - 2020-12-11
2
- - Added 'Regulatory' endpoint to allow checks of User Block Status
3
- - Added support for Regulatory -> Blocked Status Hooks
4
- - Removed sensitive data from logs, such as OwnerName, OwnerAddress BIC
5
-
1
+ ## [3.1.0]
2
+ - 3DS2 integration with Shipping and Billing objects, including FirstName and LastName fields
3
+ The objects Billing and Shipping may be included on all calls to the following endpoints:
4
+ - /preauthorizations/card/direct
5
+ - /payins/card/direct
6
+ - /payins/card/web
7
+ - Enable Instant Payment for payouts by adding a new parameter PayoutModeRequested on the following endpoint /payouts/bankwire
8
+ - The new parameter PayoutModeRequested can take two differents values : "INSTANT_PAYMENT" or "STANDARD" (STANDARD = the way we procede normaly a payout request)
9
+ - This new parameter is not mandatory and if empty or not present, the payout will be "STANDARD" by default
10
+ - Instant Payment is in beta all over Europe - SEPA region
11
+ - Add test on new payout mode PayoutModeRequested
6
12
  ## [3.0.37] - 2020-10-30
7
13
  - Card Validation endpoint fully activated
8
14
  - added pre authorizations transactions method
data/README.md CHANGED
@@ -15,12 +15,12 @@ Since [v3.0.17](https://github.com/Mangopay/mangopay2-ruby-sdk/releases/tag/v3.0
15
15
 
16
16
  Account creation
17
17
  -------------------------------------------------
18
- You can get yourself a [free sandbox account](https://www.mangopay.com/signup/create-sandbox/) or sign up for a [production account](https://www.mangopay.com/signup/production-account/) (note that validation of your production account can take a few days, so think about doing it in advance of when you actually want to go live).
18
+ You can get yourself a free sandbox account or sign up for a production account by [registering on the Mangopay site](https://www.mangopay.com/start/) (note that validation of your production account involves several steps, so think about doing it in advance of when you actually want to go live).
19
19
 
20
20
  ## Usage
21
21
 
22
22
  ### Install
23
- * You can get yourself a [free sandbox account](https://www.mangopay.com/get-started/create-sandbox/) or sign up for a [production account](https://www.mangopay.com/signup/production-account/) (note that validation of your production account can take a few days, so think about doing it in advance of when you actually want to go live).
23
+ * You can get yourself a free sandbox account or sign up for a production account [on the Mangopay site](https://www.mangopay.com/start/) (note that validation of your production account will involve several steps, so think about doing it in advance of when you actually want to go live).
24
24
 
25
25
  * Install the gem by either running ```gem install mangopay```
26
26
  or by adding it to your Gemfile ```gem 'mangopay'```
@@ -1,3 +1,3 @@
1
1
  module MangoPay
2
- VERSION = '3.0.38'
2
+ VERSION = '3.1.0'
3
3
  end
@@ -183,6 +183,7 @@ describe MangoPay::Client do
183
183
  },
184
184
  DebitedWalletId: wallets[0]['Id'],
185
185
  BankWireRef: 'invoice 7282',
186
+ PayoutModeRequested: 'STANDARD',
186
187
  Tag: 'bla')
187
188
 
188
189
  expect(pay_out).not_to be_nil
@@ -11,6 +11,7 @@ describe MangoPay::PayIn::ApplePay::Direct, type: :feature do
11
11
 
12
12
  describe 'CREATE' do
13
13
  it 'creates a applepay direct payin' do
14
+ pending("no cards to test for")
14
15
  created = new_payin_applepay_direct
15
16
  expect(created['Id']).not_to be_nil
16
17
  check_type_and_status(created)
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.0.38
4
+ version: 3.1.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: 2020-12-16 00:00:00.000000000 Z
12
+ date: 2021-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json