-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tom Schneider-Swales
committed
Feb 15, 2024
1 parent
c7f98ae
commit 93a7b70
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -377,7 +377,7 @@ function setLanguageSelect() { | |
// Returns country value based on query parameter | ||
function getCountry() { | ||
const params = new URLSearchParams(window.location.search); | ||
return (params.has("paymentOutcome") && params.get("paymentOutcome") === "abort") ? "SE" : "DE"; | ||
return (params.has("paymentOutcome") && params.get("paymentOutcome") === "abort") ? "SE" : "US"; | ||
} | ||
|
||
// Checks query params to see if error case was selected | ||
|
@@ -493,14 +493,18 @@ function generateList(integrationType, amount, country, language, theme) { | |
country: country, | ||
customer: { | ||
email: "[email protected]", | ||
number: "42" | ||
number: "42", | ||
name: { | ||
firstName: "John", | ||
lastName: "Doe" | ||
} | ||
}, | ||
integration: integrationType, | ||
payment: { | ||
amount: amount, | ||
netAmount: (amount-0.01), | ||
taxAmount: 0.01, | ||
currency: "EUR", | ||
currency: "USD", | ||
reference: "Shop 101/20-03-2016" | ||
}, | ||
preselection: { | ||
|