Merge pull request #3 from b-leech/Farah

Same fixes as Ana's one + some payment method config stuff
This commit is contained in:
Farah
2022-10-05 17:10:58 +01:00
committed by GitHub
3 changed files with 13 additions and 2 deletions

View File

@@ -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",

View File

@@ -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"
}
},

View File

@@ -17,6 +17,9 @@
<title>Checkout Create</title>
</head>
<body>
<title>Confirmation</title>
=======
<title>Confirmation</title>
<div class="status-container">
@@ -27,5 +30,11 @@
<a class="button" href="/">Return Home</a>
</div>
</div>
</body>
</html>
</html>
=======
</body>
</html>