#kobe_code

1 messages · Page 1 of 1 (latest)

zinc agateBOT
#

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

finite laurel
steel drift
#

Sure, acct_1EqXsuISMyO1hGqY

finite laurel
#

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

steel drift
finite laurel
#

you need to remove setup_future_usage entirely

steel drift
#

Actually, I haven't set "setup_future_usage" before you messaged me.

finite laurel
steel drift
#

Ok , I test again

finite laurel
#

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.

zinc agateBOT
smoky bronze
#

Hi @steel drift I'm taking over this thread. Give me a sec to catch up.

#

You'll want to update to a more recent version of Stripe iOS SDK, and try again.

steel drift
#

hi @smoky bronze I'm using 24.7.0 in my test.

smoky bronze
#

Ok, can you check your xcode console log? The log should explain why a particular payment method isn't shown in PaymentSheet.

steel drift
#

ok

#

This is so strange. I have always set this value.

smoky bronze
#

Did you also implement the URL callback?

#

This part

steel drift
#

Sorry, last message is old log

#

this is new

#

just test.

smoky bronze
#

Ok, is Alipay showing up now?

steel drift
smoky bronze
#

Have you implemented the URL callback? (refer to the screenshot that I posted earlier)

steel drift
smoky bronze
#

Do you still see [Stripe SDK]: PaymentSheet could not offer Alipay: in the xcode console?

steel drift
smoky bronze
#

What's the new PaymentIntent ID?

steel drift
#

pi_3RCEe8ISMyO1hGqY06t9TWlp

smoky bronze
#

Ok, its payment_method_types include alipay.

#

Can you share with me a sample xcode project that I can run and reproduce the problem ?

steel drift
#

ok

smoky bronze
#

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.

zinc agateBOT
#

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.
steel drift
#

@smoky bronze

smoky bronze
#

I just replaced the publishable key, customer ID, ephemeralKeySecret and paymentIntent client secret with mine.
Alipay is working for me.

steel drift
#

Sorry, I didn't click "add". I think Alipay is at the outermost layer。

#

😅

#

very thank you @smoky bronze