#stewartmcgown - Apple Pay

1 messages · Page 1 of 1 (latest)

zealous plume
#

Hello, do you have an ID for that payment that I can look at? (pi_12345789)

white relic
#

I also have this trace from the native sdk

zealous plume
#

What is the Stripe call you are making when this error occurs?

white relic
#

stripe react native sdk, presentpaymentsheet

#

card payment working, apple pay not working

zealous plume
#

So you click your button, the app calls presentPaymentSheet, the sheet shows up, and this error happens when you click on the Apple Pay logo?

#

Or rather, can you tell me the steps to recreate this in your app?

white relic
#

yep, thats right

#

only in live app

#

The captured exception shows everything I get from the app / console

zealous plume
#

Was this working in live before?

white relic
#

Before I made the switch to new Native SDK yes

#

Tipsi-Stripe worked previously

#

I am mildly concerned Stripe isn't using the new apple pay certficate I generated around the same time

#

I deleted my old, expired certificate when I added this one.

zealous plume
#

We can check in to that. And to be clear, this isn't a full on crash, but the payment sheet immediately closes and you get that exception?

#

Can you send me your account ID? (acct_123456789)

#

Going to consult my colleagues and find whatever else I can on this.

white relic
#

Yep that's right. acct_1GB07pL3LjZDLaly

#

That explanation would fit with what I've seen in Apple dev forums about using expired certs

zealous plume
#

Thank you. Checking in to the cert on your account and this error more generally

#

Can you send the Stripe Exception as well? That may help us track down what our code is doing along with your stack trace

white relic
#

{

code: Canceled, declineCode: None, localizedMessage: The payment has been canceled, message: The payment has been canceled, stripeErrorCode: None, type: None}

#

nothing from stripe in my trace

zealous plume
#

Oh right, the initial thing you sent. Thank you, taking this to my colleagues as I am less familiar with RN. Will get back as soon as I can

white relic
#

thanks mate

zealous plume
#

Do you have the ID of a payment intent that you saw this error for in live mode (pi_1234567891)? We can try to see if there were any errors logged on our side around that

#

Also the certificate should be the same in live and test mode, so if we are respecting your new certificate in test mode, we should be using the new one properly in live.