diff --git a/app/main/payments.py b/app/main/payments.py index 431205a..7892350 100644 --- a/app/main/payments.py +++ b/app/main/payments.py @@ -37,6 +37,7 @@ def adyen_payments(frontend_request, locale_data): if 'klarna' in txvariant: payments_request['shopperEmail'] = "myEmail@adyen.com" + payments_request['shopperName'] = {"firstName": "Test", "lastName": "Shopper"} payments_request['lineItems'] = [ { 'quantity': "1", diff --git a/app/static/js/adyen-implementation.js b/app/static/js/adyen-implementation.js index 6ab2e1f..52cef37 100644 --- a/app/static/js/adyen-implementation.js +++ b/app/static/js/adyen-implementation.js @@ -210,7 +210,8 @@ async function initCheckout() { //commit: false, environment: "test", // Change this to "live" when you're ready to accept live PayPal payments countryCode: countrySettings.countryCode || "GB", // Only needed for test. This will be automatically retrieved when you are in production. - showPayButton: true + showPayButton: true, + merchantId: "AD74FQNVXQY5E" //subtype: "redirect" } }, diff --git a/app/templates/checkout-success.html b/app/templates/checkout-success.html index 5d5ea8d..c31b87e 100644 --- a/app/templates/checkout-success.html +++ b/app/templates/checkout-success.html @@ -17,6 +17,9 @@