#adc-primal-saved-payment-method
1 messages · Page 1 of 1 (latest)
hey there, the client side if this mostly up to you to determine, but it sounds like you already have Elements working with Angular to collect a payment method
Yes I do have stripe elements set. I can retirieve a customer and get all their information, but I want to be able to grab what their card is on file and just charge based off of the saved payment method rather than making a new payment method upon cancelling a subscription
You can save that during the payment by using setup_future_usage when creating the payment intent:
https://stripe.com/docs/payments/save-during-payment?platform=web#web-create-payment-intent
Then to create payments with that later you'd retrieve the customer saved cards (perhaps showing them the last 4 digits of each in your UI) then initiate a payment using an already saved payment method:
https://stripe.com/docs/payments/save-during-payment?platform=web#web-create-payment-intent-off-session