spec/mangopay/shared_resources.rb in mangopay-3.25.1 vs spec/mangopay/shared_resources.rb in mangopay-3.26.0
- old
+ new
@@ -553,9 +553,25 @@
Tag: 'Test PayIn/Giropay/Web'
)
end
###############################################
+ # Bancontact/web
+ ###############################################
+ let(:new_payin_bancontact_web) do
+ MangoPay::PayIn::Bancontact::Web.create(
+ AuthorId: new_natural_user['Id'],
+ CreditedWalletId: new_wallet['Id'],
+ DebitedFunds: { Currency: 'EUR', Amount: 400 },
+ Fees: { Currency: 'EUR', Amount: 10 },
+ ReturnURL: 'http://www.my-site.com/returnURL',
+ StatementDescriptor: "test",
+ Tag: 'Test PayIn/Bancontact/Web',
+ Culture: 'FR'
+ )
+ end
+
+ ###############################################
# PAYPAL/web V2
###############################################
let(:new_payin_paypal_web_v2) do
MangoPay::PayIn::PayPal::Web.create_v2(
AuthorId: new_natural_user['Id'],
\ No newline at end of file