#vanhoutte_unexpected

1 messages ยท Page 1 of 1 (latest)

gusty valveBOT
#

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

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

unborn ocean
#

Web UI:

#

iOS UI for the same payment:

tepid peakBOT
polar atlas
#

๐Ÿ‘‹ happy to help

#

please give me a couple of minutes

#

would you mind sharing the Payment Intent ID?

unborn ocean
#

Sure

#

pi_3P9pD5LTwGqApUMx1dVsqylz

polar atlas
#

taking a look

#

give me a moment

unborn ocean
#

Great, thanks

polar atlas
#

is this the one you're using with your iOS app?

unborn ocean
#

Yes

#

I'll verify this again just to be sure

polar atlas
unborn ocean
#

The same intent ID is being used on iOS as well

polar atlas
#

but it's already confirmed

#

oh ok, then the payment failed, sorry I missed that

unborn ocean
#

Yeah i failed it

#

On the web

#

for testing

polar atlas
#

ok so now you're using the same PI on the iOS app

unborn ocean
#

Indeed

polar atlas
#

how are you initializing your Stripe instance?

unborn ocean
#

STPAPIClient.shared.publishableKey = Parameters.STRIPE_KEY
var configuration = PaymentSheet.Configuration()
configuration.merchantDisplayName = "Pawshake"
if let fullName = checkoutDetails?.petOwner?.fullName, let email = checkoutDetails?.petOwner?.email {
configuration.defaultBillingDetails.name = fullName
configuration.defaultBillingDetails.email = email
}
configuration.allowsDelayedPaymentMethods = true
configuration.allowsPaymentMethodsRequiringShippingAddress = true
self.paymentSheet = PaymentSheet(paymentIntentClientSecret: intent.intentClientSecret, configuration: configuration)

#

This is the code

idle crown
#

hi! I'm taking over this thread.

unborn ocean
#

Hello

idle crown
#

if not, the PaymentSheet will display a limited number of payment method

unborn ocean
#

No I haven't set one

#

I'll try to set one

#

That did the trick

#

I can now see all the payments

idle crown
#

great ๐Ÿ™‚

unborn ocean
#

Thanks for the help

#

The ticket can be closed

#

Great and quick support, love it

idle crown
#

happy to help ๐Ÿ™‚