#ken-yoshida_error
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/1271016467898306582
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
hi
where did you find the URL exactly? there are different ones here for Alipay: https://docs.stripe.com/api/payment_intents/object#payment_intent_object-next_action-alipay_handle_redirect
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
can you answer my above question?
where did you find the URL exactly? there are different ones here for Alipay: https://docs.stripe.com/api/payment_intents/object#payment_intent_object-next_action-alipay_handle_redirect
after catching the response from confirmAlipayment, it returns next action url
I'm talking about this URL. inside ofnext_actionthere are multiple URLs for Alipay:
next_action.alipay_handle_redirect.urlfor the webnext_action.alipay_handle_redirect.native_urlfor native apps- etc.
just moment
I am using url
it worked on desktop browser
but it doesn't work on mobile browser
and if you try to manually copy/past that URL on desktop it works, but not on mobile?
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?
what you are doing is described here, so it should work: https://docs.stripe.com/payments/alipay/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api#handle-redirect
if it's the same URL, I don't understand why it would be valid on desktop but not on mobile
are you use you are using the correct URL on mobile?
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
oh I see, the URL does work on mobile, but then alipay does a redirection that returns an error.
let me look into this
I'm going to tell the team working on Alipay about this. in the meantime, I recommend you to share your issue with Stripe support: https://support.stripe.com/contact
got it. so you just need to be patient, while the team investigate the issue.
what is the issue in your opinion ?
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.
can you share your account ID (acct_xxx)? it's at the top of this page: https://dashboard.stripe.com/settings/account
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
I'll let the team know that this is an urgent issue for you.