#BilalSaeedAlam
1 messages · Page 1 of 1 (latest)
How can I help?
I am using ACH future payment and getting setupintent id and keep it in my database same goes for future payment with Card as well.
So i want to ask with that id i retrive setup intent with setup intent id and then create charge payment method to charge customer. So is it possible like this to charge customer or everytime i need to refresh session?
You would use the Payment Method (pm_xxx) generated by a successful Setup Intent to facilitate future payments, not the Setup Intent itself: https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes i am asking i have setup intent object so with this i am able to create or charge payment to user or is there anything else we need to do?
The Setup Intent object is redundant once successful, you only need the pm_xxx ID to process future payments. See: https://stripe.com/docs/payments/save-during-payment?platform=web#charge-saved-payment-method