I am working on a POC with Adyen payments using the sample .Net code. Currently I am working on configuring the DropIn checkout.
I was able to allow save credit card info adding the enableStoreDetails attribute to the checkout.
I see that there is another attribute showRemovePaymentMethodButton and I believe it would be used to remove saved credit card info from the Drop In, but nothing changes when I add that attribute
What is the correct way of allowing a user to remove a saved credit card info at the DropIn checkout?
This is part of the code I am working on:
return new AdyenCheckout(
{
clientKey,
locale: "en_US",
environment: "test",
session: session,
showPayButton: true,
paymentMethodsConfiguration: {
ideal: {
showImage: true,
},
card: {
hasHolderName: true,
holderNameRequired: true,
name: "Credit or debit card",
amount: {
value: 2000,
currency: "USD",
},
enableStoreDetails: true,
showRemovePaymentMethodButton: true
},
paypal: {
amount: {
value: 1000,
currency: "USD",
},
environment: "test", // Change this to "live" when you're ready to accept live PayPal payments
countryCode: "US", // Only needed for test. This will be automatically retrieved when you are in production.
},
},