#cooper_payment-autoreload

1 messages ยท Page 1 of 1 (latest)

stone helmBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1285292521043263489

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

molten yoke
#

cooper_payment-autoreload

worn ermine
#

In first purchase, we used checkout session. but when user's credit run out, we'd like to recharge same service.

molten yoke
#

@worn ermine Checkout is our product to accept a payment on our hosted UI when they pay the first time. It's definitely not what you want (or need) for the "auto-recharge)

worn ermine
#

yes, I know already. but which should I use payment api? I am confused it because Stripe has several solutions

molten yoke
worn ermine
#

ok. thank you

#

May I use saved payment methods on checkout session? Even though I use exist customer, checkout session load new payment method setup

molten yoke
#

Is this another question? Or the same question? I ask because you don't need Checkout for those next payments

worn ermine
#

This is another question

molten yoke
#

gotcha, just making sure!

So it is possible to show one card but it's really complex because of various rules and regulations around showing previously saved cards. My advice here is to not bother trying, it's too hard and brittle. Instead just let the customers use Link which is our wallet payment methods and it will automatically prefill in that case. See https://stripe.com/payments/link

worn ermine
#

awesome. thanks

molten yoke
#

sure thing!

worn ermine
#

Hi, Sorry. However, It is difficult to finish charge as manual using paymentIntent create api.

molten yoke
#

that's a picture

#

Can you share code as text with your exact question?

worn ermine
#

This api return 'requires_confirmation'

#

yes, there is another query. sorry

molten yoke
#

you forgot to confirm.

worn ermine
#

May I this on backend? This means that it is attempting direct payment without user activities. auto recharge using default payment method

molten yoke
#

yes that's exactly what this is for

worn ermine
#

It works! thank you ๐Ÿ‘