#vanhoutte_unexpected
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/1234434454714318931
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
please give me a couple of minutes
would you mind sharing the Payment Intent ID?
Great, thanks
is this the one you're using with your iOS app?
I can see that you've confirmed it on the web https://dashboard.stripe.com/test/logs/req_gRhOByQKPLZfcm
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
The same intent ID is being used on iOS as well
but it's already confirmed
oh ok, then the payment failed, sorry I missed that
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 so now you're using the same PI on the iOS app
Indeed
how are you initializing your Stripe instance?
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
hi! I'm taking over this thread.
Hello
did you set a ReturnURL on iOS? https://docs.stripe.com/payments/accept-a-payment?platform=ios#ios-set-up-return-url
if not, the PaymentSheet will display a limited number of payment method
No I haven't set one
I'll try to set one
That did the trick
I can now see all the payments
great ๐
happy to help ๐