#Ante75

1 messages · Page 1 of 1 (latest)

harsh cedarBOT
signal kiln
#

Hey there

#

Happy to help

#

What's the issue

arctic wing
#

(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

vocal delta
#

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?

arctic wing
#

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

vocal delta
#

Can you send me a screenshot of what you mean here?

arctic wing
#

this does not appear in the published version of the app, but only in the development version, do you have experience with this problem?

vocal delta
#

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?

arctic wing
#

in development mode it works both in sandbox and in real

vocal delta
#

What are development mode and sandbox here? Those aren't Stripe terms so I am not immediately familiar with that setup

arctic wing
#

SANDBOX = STRIPE TEST MODE

#

DEVELOPMENT = development and debug system

#

the problem is when our app is published on the AppStore

vocal delta
#

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

arctic wing
#

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

vocal delta
#

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

arctic wing
split forum
#

hello! almost caught up

arctic wing
#

Hi, thanks for support

split forum
arctic wing
split forum
#

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

arctic wing
#

I don't understand if the problem in the MAC showing the invalid certificate is a problem or it is normal

split forum
#

I don't know yet either

#

which is why I'm asking specific questions

#

let's work through the questions pls

arctic wing
#

Not Use Xcode but Xamarin

#

if I change the MerchantId, it doesn't work in Debug either, so it's correct!

split forum
#

ah Xamarin, got it... that might be related. Looking

#

that's your Info.plist file right?

arctic wing
#

yes

split forum
#

or use the CSR from Stripe?

arctic wing
#

CSR from Stripe?

#

CSR from Stripe

#

from this procedure

split forum
#

got it ...

arctic wing
split forum
arctic wing
#

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

split forum
arctic wing
split forum
#

got it

#

still thinking, unclear what it could be yet

arctic wing
#

it's a weird problem!... Apple...

#

with GooglePay all smooth 😅

split forum
#

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 ?

arctic wing
#
  1. 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

  2. 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

  3. I used StripeSdk Stripe.iOS.StripeSDK

split forum
#

also instead of publishing again, you could do Testflight which will be quicker and still in Release mode

arctic wing
#
  1. the certificates were created as before
arctic wing
#

I republished the app in TestFlight, but same problem