#pale - disable saving cards
1 messages · Page 1 of 1 (latest)
That 4242 text is just example text, not a real card
You can disable that as well, just wanted to clarify
Checking in to how to do that again...
Yes but when I enter real card will the behavior same?
Not quite. It will save the card (which I am also looking in to how to disable) but that won't show up on the invoice page like that
Ah I see. That is a test card. That will not happen in the live environment.
And unfortunately it doesn't look like you can disable the card saving. If you don't want saved cards on your customers, you will need to make an API call to detach whatever payment method was added to your customer. https://stripe.com/docs/api/payment_methods/detach
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It might be easiest to listen for an invoice.paid event and make the detach call there
Ah allright