#ken-yoshida_error

1 messages ¡ Page 1 of 1 (latest)

proud cradleBOT
#

👋 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/1271016467898306582

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

idle robin
#

hi there!

tall pilot
#

hi

idle robin
tall pilot
#

I have createed payment intent for ali payment on the backend side

#

after getting the payment intent id, I have made the confirmation with confirmAlipayment method

#

it returns the paymentIntent object

#

this function gives one optional field

#

manual opporation and automatic redirection parameter

#

due to our application workflow, I can't make redirection

#

and so I have used manual method

#

after catching the response from confirmAlipayment, it returns next action url

#

it is the hook url to redirect to alipayment website

#

with this url, I have made redirection on popup window

#

it worked on desktop browser but it didn't work on mobile browser

idle robin
tall pilot
#

what do you mean with url

#

?

idle robin
#

after catching the response from confirmAlipayment, it returns next action url
I'm talking about this URL. inside of next_action there are multiple URLs for Alipay:

  • next_action.alipay_handle_redirect.url for the web
  • next_action.alipay_handle_redirect.native_url for native apps
  • etc.
tall pilot
#

just moment

#

I am using url

#

it worked on desktop browser

#

but it doesn't work on mobile browser

idle robin
#

and if you try to manually copy/past that URL on desktop it works, but not on mobile?

tall pilot
#

yes

#

after getting the url, I have pasted it on lambda test real device but it didn't work

#

could you explain about this issue?

idle robin
#

are you use you are using the correct URL on mobile?

tall pilot
#

this is the hook url

#

it will work on desktop

#

you can copy it on browser and paste it to mobile browser

#

but it didn't work

idle robin
#

oh I see, the URL does work on mobile, but then alipay does a redirection that returns an error.

#

let me look into this

tall pilot
#

I have asked about this

#

and raised the ticket

#

this is the absolute issue

idle robin
#

got it. so you just need to be patient, while the team investigate the issue.

tall pilot
#

what is the issue in your opinion ?

idle robin
#

I don't know, but I managed to reproduce the issue. So I'll let the team working on Alipay investigate and get back to you.

tall pilot
#

this is my client id

#

and so if he wanna to share the id, I will tell the id

#

but due to my client customer urgency with this project, I want to resolve this issue

#

asap

idle robin
#

I'll let the team know that this is an urgent issue for you.

proud cradleBOT