mirror of
https://github.com/jlengrand/checkoutCreate.git
synced 2026-03-10 08:11:18 +00:00
Merge pull request #3 from b-leech/Farah
Same fixes as Ana's one + some payment method config stuff
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user