#dvsk-paymentlink-retries
1 messages · Page 1 of 1 (latest)
@open shale can you provide a bit more context around you ask? What cancelled payment? what retry?
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?
Are you talking about Billing, our product for recurring payments? Something else?
I am talking about smart retries option in stripe and handling failed payments scenarios
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
I always see Error that ‘cannot read properties of undefined (reading ‘type’)’ during failed, payment_intent.payment_failed scenario
Oh! I am using payment links in my application… Can I use smart retries in this case?
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
Oh! Then I think I got it wrong…
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
Okay!! Understood, thank you so much 😊
And one last thing please, I always see this error on failed payments… but when payment is successful, it all works fine. Any idea why it can happen? Event object will be intact during failed transaction too, correct?
I mean event.type would be payment_intent.payment_failed correct for which I handled a case in my webhook
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
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.
I don't know of a specific page sorry
Ok