#jessa_api
1 messages · Page 1 of 1 (latest)
👋 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/1480765095297552584
📝 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.
- jessa_docs, 5 days ago, 20 messages
By PaymentRequest modal, which integration are you referring to?
Payment Elements? Express Checkout Elements?
@flat lintel Referring to the interface that appears when you call this: https://docs.stripe.com/js/payment_request/show
This is the Payment Request Button (PRB) which is a legacy integration
We encourage to move over Express Checkout Elements instead: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
Gotcha, well we're way too far down this road to turn back now, but we certainly may upgrade in the future. I hope the upgrade path is not too difficult. Does that mean you can't provide support for the legacy method?
Well not really, but it doesn't make much sense to dig deeper while you already know you are moving away from it
When you do PRB, which Doc are you following?
For example the .show() function you asked earlier, is even another highly customized step inside the legacy PRB flow
which normally you wouldn't use
sorry, what is PRB? Payment Request..B? 😅
Payment Request Button. Sorry
If you decide to go with PRB (which we highly discourage for now), this is the Docs you want to follow: https://docs.stripe.com/stripe-js/elements/payment-request-button
You can see on this section that .show() is only used if you have your own button
yes, we have our own button
we've been working on this integration for 6+ months (had to refactor a ton of our backend code too), and this is the last question our QA tester is asking before I can move it to the smoke test step.. so it's not like we're deciding to go with PRB.. that's was decided ages ago
they are asking if we can close the payment request interface when the ticket reservation expires (our app sells tickets), so we can show an error to the user right away, instead of after they submit their payment
I see
I think it's not possible to programmatically cancel but let me dig deeper on our API
thank you so much
It's not possible unfortunately
There are only show(), update() and canMakePayment()
⛔️ Stripe developers have stepped away for a short while
Please leave your questions here, and we’ll respond as soon as we're back! If you need help urgently, you can contact Stripe support for help.
(My collegueages will be here in 30 min-ish in case you have follow-up questions)