mirror of
https://github.com/jlengrand/checkoutCreate.git
synced 2026-03-10 08:11:18 +00:00
Merge branch 'main' into ana
This commit is contained in:
@@ -18,7 +18,7 @@ def disable_card(storedPaymentMethodId):
|
||||
|
||||
disable_request['shopperReference'] = "UniqueReference"
|
||||
disable_request['recurringDetailReference'] = f"{storedPaymentMethodId}"
|
||||
disable_request['merchantAccount'] = "CheckoutCreateDemo"
|
||||
disable_request['merchantAccount'] = get_adyen_merchant_account()
|
||||
print("/disable request:\n" + str(disable_request))
|
||||
|
||||
disable_response = adyen.recurring.disable(disable_request)
|
||||
|
||||
@@ -22,7 +22,7 @@ def adyen_payment_methods(locale_data):
|
||||
payment_methods_request['countryCode'] = locale_data['countryCode']
|
||||
payment_methods_request['shopperReference'] = "UniqueReference"
|
||||
payment_methods_request['channel'] = "Web"
|
||||
payment_methods_request['merchantAccount'] = "CheckoutCreateDemo"
|
||||
payment_methods_request['merchantAccount'] = get_adyen_merchant_account()
|
||||
payment_methods_request['blockedPaymentMethods'] = locale_data['blockedPaymentMethods']
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ def adyen_payments(frontend_request, locale_data):
|
||||
payments_request['shopperReference'] = "UniqueReference"
|
||||
payments_request['returnUrl'] = "http://localhost:8080/api/handleShopperRedirect"
|
||||
payments_request['countryCode'] = locale_data['countryCode']
|
||||
payments_request['merchantAccount'] = "CheckoutCreateDemo"
|
||||
payments_request['merchantAccount'] = get_adyen_merchant_account()
|
||||
payments_request['recurringExpiry'] = "2022-08-01T23:59:59+02:00"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user