#olezz

1 messages · Page 1 of 1 (latest)

deft acornBOT
#

Hello! We'll be with you shortly. 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.

analog plume
#

hello! No, there's no way. if you would like to see more support for this feature I'd suggest writing to https://support.stripe.com/contact/email to explain your use cases/feature request as that helps the product team capture demand for prioritisation

rigid belfry
#

hmm, then is there a way to intercept this payment before it goes through? bc i set my payment hold to 10 mins, then if customers scan it after 10 mins is there a way for my server to know?

analog plume
#

can you maybe share more about your concern here?

#

like why do you want to expire the QR?

rigid belfry
#

because when a user checks out, i hold the product for 10 mins

#

so if user pays via qr after 10 mins, it should be invalidated.

analog plume
#

are you using Checkout Sessions, or using Payment Element?

rigid belfry
#

payment element

analog plume
#

I'd recommend cancelling the PaymentIntent in that case. It won't invalidate the QR code but that'll prevent the payment from going through. If the user pays the QR code, it'll be automatically refunded to them

rigid belfry
#

ah i see, is there a way to automate payment intent cancellation on stripe?

analog plume
#

no, there's no way unfortunately. You'll have to run your own cron job or scheduler