Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
gcatanese committed Sep 19, 2023
1 parent fd30050 commit 5739db1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions giving-example/src/main/resources/static/adyenGiving.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ async function handleDonation(donationToken, pspReference, amount) {

async function startGiving() {

const paymentMethodsResponse = await callServer("/api/getPaymentMethods");
const checkout= await AdyenCheckout(
{
clientKey,
Expand All @@ -57,8 +56,6 @@ async function startGiving() {
message: "By donating you agree to the %#terms%#",
linkText: "terms and conditions",
link: "https://www.adyen.com/legal/terms-and-conditions" // Replace with yours


},
onDonate: (state, component) => {
if(state.isValid) {
Expand Down

0 comments on commit 5739db1

Please sign in to comment.