#kobe_code
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/1359720149934014515
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! Can you share your account id so that I can take a closer look at how your account is set up? You can find your account id by logging in to https://dashboard.stripe.com/settings/account. It'll look like acct_123
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sure, acct_1EqXsuISMyO1hGqY
I took a look at one of your recent PaymentIntents and you're currently using setup_future_usage: "off_session" which Alipay does not support by default - this is why Alipay is not being displayed as a payment method in your payment sheet. If you want to be able to support off-session payments for Alipay, you'll need to reach out to support to see if this feature can be enabled for your account : https://support.stripe.com/questions/enabling-recurring-charges-for-alipay
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
https://dashboard.stripe.com/test/payments/pi_3RCBdtISMyO1hGqY1ztqAx1E
I changed "setup_future_usage", but it does'nt work.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
you need to remove setup_future_usage entirely
sorry, i'm not sure I understand? If you have a request id where you did not include setup_future_usage can you share that request or object id? For context, the creation request for pi_3RCBdtISMyO1hGqY1ztqAx1E included setup_future_usage : https://dashboard.stripe.com/test/logs/req_8p9nqIcnwvPyDR
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ok , I test again
https://dashboard.stripe.com/test/payments/pi_3RCBwIISMyO1hGqY1tp9pucE
This setup_future_usage is null, But never display Alipay.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I need to step away for a short period, let me look into this and I'll get back to you in about 30 minutes.
Hi @steel drift I'm taking over this thread. Give me a sec to catch up.
https://dashboard.stripe.com/logs/req_TmT3bbVUCzkKJZ it seems you are using a old iOS SDK (e.g., 22.8.2), and Alipay support is added since 23.16.0
You'll want to update to a more recent version of Stripe iOS SDK, and try again.
Ok, can you check your xcode console log? The log should explain why a particular payment method isn't shown in PaymentSheet.
ok
[Stripe SDK]: PaymentSheet could not offer Alipay:
* * A return URL must be set, see https://stripe.com/docs/payments/accept-a-payment?platform=ios&ui=payment-sheet#ios-set-up-return-url
This is so strange. I have always set this value.
Ok, is Alipay showing up now?
no
Have you implemented the URL callback? (refer to the screenshot that I posted earlier)
yes
Do you still see [Stripe SDK]: PaymentSheet could not offer Alipay: in the xcode console?
no. this is all the log.
What's the new PaymentIntent ID?
pi_3RCEe8ISMyO1hGqY06t9TWlp
Ok, its payment_method_types include alipay.
Can you share with me a sample xcode project that I can run and reproduce the problem ?
ok
Discord is a public place so everyone can see you post. If you prefer to share it privately, you can share it with Stripe support through the link that you'll receive shortly.
Hello @steel drift, we have sent you a direct message, please check it at https://discord.com/channels/@me/1359783326143221821
- 🔗The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.