#Ante75
1 messages · Page 1 of 1 (latest)
(this is not a STRIPE problem) but I would like some advice, I have integrated the payment with ApplePay, everything works fine but after publication the payment stops working, the WALLET is no longer shown on Apple, with credit card everything works correctly ,
Do you have any experience ?
i successfully created the MerchandId on apple and registered the certificates
Hello, I am still a bit clear on the issue that you are having here. When you say the wallet doesn't show up, what exactly isn't showing up? Is this the "Pay" button on your site or something else?
just the WALLET on apple is not opened, but only with the published app, with the app on the device in debug, it works well, both in SANDBOX and in REAL
Can you send me a screenshot of what you mean here?
this does not appear in the published version of the app, but only in the development version, do you have experience with this problem?
Not with development vs prod unfortunately. Usually the cards in there work in both environments
What is the difference between environments here, is it just your Stripe keys? Are you testing on different devices?
in development mode it works both in sandbox and in real
What are development mode and sandbox here? Those aren't Stripe terms so I am not immediately familiar with that setup
SANDBOX = STRIPE TEST MODE
DEVELOPMENT = development and debug system
the problem is when our app is published on the AppStore
Hey @arctic wing apologies for dropping off of this thread for a bit. Is the rest of the Stripe functionality on this app working in the published version? I am having trouble finding what might cause this issue but am still looking in to it
I was checking the certificate creation procedure, I redid everything
is it normal that in the keychain on my MAC, the certificate STRIPE is not valid?
on stripe instead everything looks ok
I am unfamiliar with that kind of certificate. Can you show me what Stripe or Apple doc you are working off of to work with these certificates?
I will ask a colleague for help that may be more familiar with this kind of issue
hello! almost caught up
Hi, thanks for support
so usually this means that steps 2-4 are done incorrectly at some point
can you double check that for me? https://stripe.com/docs/apple-pay?platform=ios#merchantid
specifically, step 4
This is the function in DEBUG , it's OK
let me know the results of step 4 (with a screenshot) and can guide you further
sure I understand it works in debug, I'm trying to start from zero and cover everything. Apple Pay on iOS requires a series of steps
This is the function with app published in AppStore, it doesn't work
I don't understand if the problem in the MAC showing the invalid certificate is a problem or it is normal
I don't know yet either
which is why I'm asking specific questions
let's work through the questions pls
Not Use Xcode but Xamarin
if I change the MerchantId, it doesn't work in Debug either, so it's correct!
ah Xamarin, got it... that might be related. Looking
that's your Info.plist file right?
yes
step 4 here
At this point you will be prompted to create a certificate signing request:
https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/provisioning/capabilities/apple-pay-capabilities#appid
did you create your own Certificate Signing Request?
or use the CSR from Stripe?
got it ...
in your screenshot here: #1044986710397816934 message
what does the red text translate to?
certificate "xxx" is not authorized
but I don't know if it can be authorized, since it's provided by STRIPE, I don't know
got it, yeah that might be the problem, will get back to that shortly
Can you confirm you have an Entitlements plist file set up? https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/provisioning/entitlements?tabs=macos#entitlement-key-reference
sorry, coming up short on this still ... here are my 2 suggestions
1/ re-do the whole certificate and merchant ID set up. It sounds annoying to do (I've been there, re-done my merchant ID and cert set up over and over and it isn't easy) but I highly recommend it since it rules out any issues with the certificate set up. Delete your existing merchant ID, certificate, everything and re-do the process with a new merchant ID to rule out any issues.
2/ add some logging to your code that you can get off the device logs in prod (I believe you can connect your device and grab logs off of it). Specifically, add logs to the part where you create a PaymentIntent, then display Apple Pay. That might indicate if an error is being thrown.
3/ also what code are you using to show Apple Pay? I assume you're using some Xamarin library for Stripe iOS SDK ?
-
before contacting you I tried to recreate the certificates, now I will try to publish the app again but I'm afraid nothing will change
-
in debug mode it works, only downloaded real app doesn't work, I don't really know how to turn on logs in this mode
-
I used StripeSdk Stripe.iOS.StripeSDK
1/ did you successfully re-create the certs?
2/ https://developer.apple.com/documentation/xcode/acquiring-crash-reports-and-diagnostic-logs#Access-device-console-logs and https://developer.apple.com/documentation/os/logging
3/ can you share a link to that?
also instead of publishing again, you could do Testflight which will be quicker and still in Release mode
I republished the app in TestFlight, but same problem