#.lonestarx
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share more context on what is the issue you are trying to solve exactly?
hey, had some talks yesterday with bismark and some other people
apple pay doesn't show up
payment sheet dismisses, but apple pay window doesn't come up so payment sheet just comes back
Can you share any error message you see in your logs, or the things you already tryied to debug this?
This was the thread you are talking about, correct? https://discord.com/channels/841573134531821608/1162007075535200356
Hey! Taking over for my colleague. Let me catch up.
Did you had the chance to reproduce the issue on this sample ?
https://github.com/stripe/stripe-ios/tree/master/StripePaymentSheet
Are you facing this in test or live mode ?
no but it was working before
this is live mode
it's annoying because on simulator apple pay does show up
but on real device it doesn't
What was happening/changed before it was working ?
probably something in the dashboard but i don't have access there
i'm wondering if i can identify the issue from the app
perhaps somewhere i can breakpoint in the PKP methods
it's not expired
You may need to regenerate new one
You need to double check in you Stripe Dashboard
i see..
wouldn't there be an error somewhere if there's an issue with the certificate?
There should be an error in the logs on your Ios devices
Try adding as much logs as possible
Double check your code changelog
Lastly you may want to test on another device
it happens on every device
there's nothing to log, i'm just presenting the paymentsheet
this is all i'm doing
What about the logs in your xcode of the device ?
In that case you have something dismmissing the payment sheet
I invite you to reproduce the issue on the sample I shared with you
and share with us how we can reproduce on our side
paymentsheet example seems to be missing project file
ah nvm it's a big workspace back
when i tried the sample ExampleSwiftUIPaymentSheet apple pay button is not visible
logs say
try passing a meaningful merchantID like "merchant.com.my.test" . If you're on a simulator I believe you can pass any string, but maybe they validate that it has to "look right". If this is on a physical device, you have to use the actual merchant ID you created in your Apple Developer account and are using in your XCode profile.
i am on a device, i replaced all the info (customer id, intent, pkey, merchand display name etc) from my live app
but ahhh... wait
i know the issue
i changed the bundle id of the sample to something else
ok changed it to the live app's bundle id, added apple pay capability with my merchant id
i see the button now
same issue tho
apple pay gets canceled
so it must be something dashboard related, right?
not sure what you mean by Dashboard-related.
added apple pay capability with my merchant id
and did you update the PaymentSheet.Configuration().merchantDisplayName to match?
if you think it's an issue with the certs on your account and want us to look, what is your account ID? https://stripe.com/docs/payments/account#find-account-id
acct_1N3K6wBFxmePog8R
thanks, and the other question about the merchantDisplayName?
you're using merchant.eu.d*****.mobile everywhere?
you say that but the only two certs you uploaded to Stripe are for merchant.eu.d****.mobile and merchant.eu.d****.mobile.debug just FYI
welp... i guess this is why it doesn't work
well I'm not sure it is, since I think the certs only matter when submitting the payment information to Stripe(i.e after the customer enters the information in the Apple Pay sheet and hits the pay button inside it). But it probably doesn't help overall
the certs are so we can decrypt the Apple Pay payload that the app sends to our API.
In any case, what does your minimal reproduction ViewController look like right now, can you share the code?