#nollix_checkout-payment-intent-creation

1 messages ยท Page 1 of 1 (latest)

neat troutBOT
#

๐Ÿ‘‹ 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/1447623538801639637

๐Ÿ“ 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.

winter pollen
#

Hello, Checkout Sessions should always keep the same payment intent ID. So you shouldn't need to retrieve again after the first time

glacial loom
#

Is it possible that the paymentIntent object isn't created after the client clicks on "Pay" button in the Stripe host checkout page?

winter pollen
#

I think if the payment is $0 nothing would be created. Checking that in test mode

glacial loom
#

So it the payment is greater than 0 paymentIntent object (and paymentIntent id) would be create, right?

winter pollen
#

Yep, as long as a payment is being made a payment intent will be created.

glacial loom
#

thank you so much

winter pollen
#

Of course! Always happy to help

glacial loom
#

Another question: I'd like to implement the refund payment on my platform. I've studied the documentation but there is something that it's not clear. I'm planning to open a refund using the paymentIntent Id. In the documentation is written that after the creation of a refund and it succeeds then a Refund object returns. But what does it mean "succeeds"? Does the entire refund succeed so the money are sent to the client OR just the creation of the refund succeeds so the procedure is in progress (and the money will take a while to arrive to the client)?

winter pollen
#

The second one, the process has started but may later fail. This mirrors the info that we get from our financial partners. You hear back that the request for the refund has been received and then usually you don't hear anything else unless the refund fails for some reason. So the Stripe API mirrors that, you get a success when the funds are on their way and can assume the refund has succeeded unless you later get an event about it failing.

neat troutBOT
glacial loom
#

How much time does it take to get the refund after the creation?

potent olive
#

Hi ๐Ÿ‘‹

I'm stepping in as my colleague had to go. The time it takes for the Customer to receive the funds is dependent on several factors outside Stripe's control. Depending on the type of payment method used by the Customer, it could range from minutes (with Cards) to 14 days (Bank debits).

#

And even for specific payment method types, the timeline is highly dependent on the institutions invovled and not something Stripe can easily estimate.

glacial loom
#

ok I have understood. the important things is that, in any case, the first status that I'll read when the refund object is given (after the successful creation of the refund) is "pending", right?

potent olive
#

Correct.