#desiree-zottl_code

1 messages ยท Page 1 of 1 (latest)

pliant basinBOT
#

๐Ÿ‘‹ 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/1420730481531555981

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

brazen wren
#

๐Ÿ‘‹
Firstly are you using the latest version of Stripe ios SDK ?

final tree
#

Yes I'm using iOS version 24.24.0 which is the latest one.
Yes I followed this guide and use the PaymentSheet.FlowController which I create with PaymentSheet.Configurations.
In this PaymentSheet.Configuration I set the customer (CustomerConfiguration), so the payment sheet also shows the saved payment methods of this customer.
I know that usually this CustomerConfiguration is initialized with a ephemeralKeySecret like that: .init(id: customerId, ephemeralKeySecret: ephemeralKeySecret) but I'm using the beta functionality of .init(id: customerId, customerSessionClientSecret: customerSessionClientSecret)

brazen wren
#

Yeah I see now better thanks, checking...

#

What error are you getting do you have the fullstack trace ?

final tree
#

The error is: Integration Error: Attempting to use a customerSession with MobilePaymentElement that does not have mobile_payment_element component enabled.
It comes from the STPAPIClient and the verifyCustomerSessionForPaymentSheet method.

#

I see this has a check, if the mobilePaymentElementComponent is enabled on the customerSession

brazen wren
final tree
#

And here it's only possible to send "payment_element" in the components. Not "mobile_payment_element".

brazen wren
#

You need to use the preview version

#

if you don't have access

#

you need to reach out to Stripe Support in order to have access to the preview version

final tree
#

Ah I see, can you let me know which preview version I need? So I can tell the Stripe Support concretely. The version number?

brazen wren
#

There is only one pending preview version

#

The current one is 2025-08-27.preview

#

When reaching to Stripe Support ask to have access to the preview API and share the link I shared with you

final tree
#

Alright ๐Ÿ™‚ Will do so, thanks a lot for your help