#bruno_unexpected

1 messages Β· Page 1 of 1 (latest)

real matrixBOT
#

πŸ‘‹ 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.

devout stone
#

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?

undone swift
#

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

devout stone
#

Can you share a screenshot/screencap of what happens? Please redact anything private as this is a public server.

#

Ah thanks πŸ™‚

undone swift
#

Sorry haha screenshots were on the way already

#

The "loading" stays on the page and nothing happens after that

devout stone
#

Is this on hosted Checkout?

#

Or your own custom integration?

undone swift
#

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

devout stone
#

ok thanks, taking a look

real matrixBOT
devout stone
#

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

undone swift
#

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

devout stone
#

Ok thats good

#

So this probably might be specific to the invoice hosted payment page?

undone swift
#

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

halcyon snow
#

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

#

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

undone swift
#

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

halcyon snow
#

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...

undone swift
#

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

real matrixBOT
halcyon snow
#

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

real matrixBOT
#

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.
undone swift
#

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

halcyon snow
#

got the case, I will be routing it to the appropriate team shortly, thanks for your patience as we investigate