#nishp77

1 messages · Page 1 of 1 (latest)

lost wigeonBOT
warm portal
rustic owl
#

Yes

warm portal
rustic owl
#

Yes i did add this to code
configuration.applePay = .init(
merchantId: "merchant.com.your_app_name",
merchantCountryCode: "US"
)

#

the payment button does show up but after that it does not show the cards I have with apple pay?

warm portal
#

Did you also configure the Apple Pay certificate?

rustic owl
#

Yes everything else is done

warm portal
#

OK. Can you share with me a video recording and the relevant PaymentIntent ID?

rustic owl
#

pi_3NR5mGKb7Q4MOzOo0qgD9fFj

warm portal
#

Can you take a video recording?

rustic owl
#

Just wait

#

pi_3NR5pyKb7Q4MOzOo1BFNZJku

#

Is there anything else that I have to do for apple pay?

#

I just added the above 2 lines to configuration

warm portal
#

So PaymentSheet dismissed when you click on Apple Pay button?

#

Did you see any error in your react native dev console?

rustic owl
#

2023-07-06 23:06:17.649531-0500 client-ios[11893:2261481] [General] Payment request is invalid: Error Domain=PKPassKitErrorDomain Code=1 "Invalid in-app payment request" UserInfo={NSLocalizedDescription=Invalid in-app payment request, NSUnderlyingError=0x2813e5470 {Error Domain=PKPassKitErrorDomain Code=1 "PKPaymentRequest must contain a property 'countryCode' of type 'NSString' within '(

#

country code for canada is CAD?

#

or CA?

#

configuration.applePay = .init(merchantId: "merchant.com.example.client-ios", merchantCountryCode: "CAD")

#

Thank you jack

#

It was CA no CAD my bad

#

Issue resolved

#

I have another question, can I use my personal card for testing apple pay?