#dvsk-paymentlink-retries

1 messages · Page 1 of 1 (latest)

upbeat ironBOT
junior harbor
#

@open shale can you provide a bit more context around you ask? What cancelled payment? what retry?

open shale
#

Say suppose user’s payment is declined with some error insufficient funds etc. and in the background we set smart retries in our settings. Now, stripe retries to make this payment successful right? So I want to know how will i know that the payment is retried by stripe or that user retried the payment? Probably is there any key value in the event object that I know that it’s stripe that invoked the retry?

junior harbor
#

Are you talking about Billing, our product for recurring payments? Something else?

open shale
#

I am talking about smart retries option in stripe and handling failed payments scenarios

junior harbor
#

I'm sorry you're staying really high level without actionable details

#

There are dozens of ways to integrate our products and APIs and I do need you to provide more specific context here. Smart retries does not exist for one-time payments on PaymentIntents, if that's what you're asking

open shale
#

I always see Error that ‘cannot read properties of undefined (reading ‘type’)’ during failed, payment_intent.payment_failed scenario

open shale
junior harbor
#

Smart retries are for recurring payments. If you are doing one-time payments, like $10 now for cookies, then no, there's no smart retries

open shale
#

Oh! Then I think I got it wrong…

junior harbor
#

Yeah looks like it

#

dvsk-paymentlink-retries

#

A PaymentLink will redirect a customer to Checkout where they can pay directly. If they get a decline, they can retry with a different card but they always have to do it themselves, it won't be done automatically by Stripe

open shale
open shale
#

I mean event.type would be payment_intent.payment_failed correct for which I handled a case in my webhook

junior harbor
#

I don't get the error iunfortunately, there isn't enough information. You need to add logs to your code to figure out wht's happening

open shale
#

Ok thank you for your time

#

Can you please let me know the reference in the stripe documentation of where it is written that smart retries are only for recurring payments? I missed going through it somehow.

junior harbor
#

I don't know of a specific page sorry

open shale
#

Ok