#Faisal77077
1 messages · Page 1 of 1 (latest)
Can you elaborate on what you want to do?
I would recommend looking at this guide if you haven't already: https://stripe.com/docs/payments/save-and-reuse
We have customers paying with credit cards,
what I want to do is, save their credit card for future payments so they can pay fast.
Yes, I've checked this guide, our application is about recovering our user's orders.
We created an app on shopify to sell our merchants to get recovered their pending orders.
So we send follow up emails to the users, and in that email user pays that amount to the stripe by putting their card details.
but we want something like if user once paid through their card we show them list of their old cc and then ask if they want to pay with their saved card, and if they agree we deduct the desired amount from their account.
Are you a developer? Do you know how all of this is happening on the back-end right now?
What Stripe products are you currently using?
Yes, I'm a developer this app is in laravel and we're using the php-stripe package.
currently what we're doing:
we are creating an paymentIntent using the stripe client , I define amount, currency and payment_method_types along with account ID
We then pass that paymentIntent with AccessToken to frontend and fronend then get the card element details on frontend ( vue ) and then we do paymentconfirm with
stripe.js
and if response is 200 is confirm we mark our order's payment confirmed
Alright, do you have more specific questions about setting up future usage? The guide should give you step-by-step instructions on how to do this already
More specifically
I want something like I create customer on stripe ( which I've done through customer Api)
then Attach Card to that customer
and then charge it in future without getting the card details through customer.
**Note: ** in my R&D I am able to do this via charge api.
But Charges api is legacy and stripe don't recommend it, and another restriction it doesn't work in india.
That makes sense, but this guide literally tells you exactly how to do that: https://stripe.com/docs/payments/save-and-reuse
Is there a question beyond that that I'm missing?