#bruno_unexpected
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/1493603732946944210
π Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey there, on a desktop browser the expected flow is to show a QR code to scan with your UPI app. On mobile, you should be redirected directly into the UPI app.
Where are you seeing a message displayed instead?
On desktop, customers scan a QR code using their UPI app. On mobile, customers are redirected to their UPI app to complete the payment.
https://docs.stripe.com/payments/upi
Hey! THe message appears on the desktop
Unfortunately, there's no redirection, and no QR code is rendered on the page
It asks for personal details, but when the user proceeds with payment, nothing happens on the page
Can you share a screenshot/screencap of what happens? Please redact anything private as this is a public server.
Ah thanks π
Sorry haha screenshots were on the way already
The "loading" stays on the page and nothing happens after that
Hosted checkout
The behaviour is the same on both though. The screenshots I sent you are happening on the invoice payment page
But we also tried using payment elements, and the same happens as well
I did some checks on the network tab, and it appears that the hosted_instructions_url is properly returned to the Checkout page, but the QR code is not rendered anywhere after the response from the /hosted endpoint
This is what I see when I open the hosted_instructions_url link
ok thanks, taking a look
Hey can you share an example checkout session ID? The payment intent you shared appears to be standalone, so i am curious what your confirm call looks like, but for Checkout at least I am seeing the expected QR code display, also on chrome on macos like you
Hey, let me generate one. One sec
True π€ it worked on the checkout (cs_live_cs_live_a18Rx9Ay3hifFNIKikzNCQUqrXsbMZP089hw5ryIbg9RN1uiMTg0UeJg2l)
It doesn't seem to work on the invoice payment page
Ok thats good
So this probably might be specific to the invoice hosted payment page?
Apparently yes... I'm trying now with Payment element
I'll share feedback in a sec
Sorry for the delay.
Do we need to provide more information when a payment intent is created for UPI payments? I'm getting this error from the API: This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter.
Payment intent ID: pi_3TM8CfGXtcqHgDW837Hj437u
hi there, I'm taking over from synthrider as they had to step away. thanks for providing the PI ID, looking now
it looks like that PaymentIntent is associated with a subscription, and I know there are additional considerations for recurring payments when using UPI, I'm looking for information on that now
I believe this parameter needs to be used on subscription creation https://docs.stripe.com/api/subscriptions/create#create_subscription-payment_settings-payment_method_options-card-mandate_options
is it possible for you to try this with a non-recurring payment PaymentIntent in test mode? I tried it with my own integration and was able to get the QR code with Payment Element
Interesting... I see.
Can we provide these parameters on every payment intent, or do we need to filter only by intents where UPI will be provided?
is it possible for you to try this with a non-recurring payment PaymentIntent in test mode?
Unfortunately our platform doesn't support payment without recurrency for subscriptions at the moment... That's why we took some time to enable Pix and UPI
But it seems the QR code rendering bug only happens in the invoice page
ah, I read back through the thread and see that you're using hosted checkout. that should handle mandate collection automatically for you. let me see if I can reproduce the problem using the invoice page...
Yeah, we currently use both...
For our main subscription plans, we have our own integration using Payment elements. For the last plan (Max), we use Stripe checkout directly
I think we'll need to transition this into a support case so that our internal teams can investigate the root cause of this issue. I'm going to send you a DM that will allow you to open a support case through email. Please let me know when you've gone through the flow so that I can make sure it's routed to the appropriate team
Hello @undone swift, we have sent you a direct message, please check it at https://discord.com/channels/@me/1347570030061293708
- πThe message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
Sounds good to me. I just did it π
We have deactivated UPI on production for now just in case, but we left Pix as is
got the case, I will be routing it to the appropriate team shortly, thanks for your patience as we investigate