#Chevy-ios-applepay

1 messages · Page 1 of 1 (latest)

rapid summit
#

Hi, can you clarify what you're trying to do here and what Stripe documentation you're currently leveraging?

heady cobalt
rapid summit
#

You'd likely want to talk to Back4App

heady cobalt
#

I already went to them and are sending me read the docs again

#

that's why I'm

limpid sun
#

Are you the developer writing the code yourself from scratch, like what's the context here?

heady cobalt
#

Yes, I'm trying to implement Apple Pay so client pay for my service through the app. The button call for .presentApplePay (show the view to pay). However, when I hit pay an alert pops up "Apple Pay is not available in "Chevy" Checkthe settings for this app and make sure it was designed to use Apple Pay.

limpid sun
#

So what is Back4App and what does that have to do with your question?

#

How are you testing exactly?

heady cobalt
#

Back4App is the server I'm using to store users data.

limpid sun
limpid sun
#

Chevy-ios-applepay

scarlet kite
#

👋 stepping in. You may want to double check how are you registering the ApplePay certificate. You need to set it in your Apple Account which you download the certificate and use in your Xcode to build

#

Follow Step 2 "Register for an Apple Merchant ID" and Step 3 "Create a new Apple Pay certificate" from the link my colleague shared

heady cobalt
#

Everything is fine with Apple Pay I already set that up. I'm stock: //Call your backend to create and confirm a PaymentIntent and get its client

How do I do that?

scarlet kite
#

Are you sure you setup certificate correctly? The error indeed means you haven't

#

Your Xcode setting should look like this

#

And that merchant Id should be from the Apple Account you have setup the certificate with Stripe Dashboard

heady cobalt
#

Yes, just double checked. All look good

scarlet kite
#

And the Apple Account has the Apple Pay certificate? Are you still having the same error?

Apple Pay is not available in "Chevy" Checkthe settings for this app and make sure it was designed to use Apple Pay.

#

This is an iOS error which only related to Apple Developer Account setup

heady cobalt
#

Yes, I still have the error. How do I know my server is connected to Stripe?

#

Would you be able to see it?

scarlet kite
#

Server connected to Stripe means in your server you are using a secret key from Stripe Dashboard

#

But I think it's completely different than the error you are seeing. That error comes from Apple saying some settings in your Xcode is not recognized for ApplePay