PC Parker
PC Parker

Reputation: 257

Creating Payment Request works in simulator, but not on a real device

I integrated the Stripe component in my app and using Apple Pay for accepting payments.

I tested it on iPhone 6 and iPhone 6 plus, and the devices have valid cards. But If I try to create a payment request StripeClient.CanSubmitPaymentRequest is always returning false in real device. It is working fine in simulator.

http://components.xamarin.com/view/stripe

I followed all the steps which are provided above.

I have to add anything else. Please help me to solve this.

Upvotes: 0

Views: 2886

Answers (2)

PC Parker
PC Parker

Reputation: 257

The Issue is I added the merchant id as string value of that key(com.apple.developer.in-app-payments) in entitlement. After I changed as the merchant id in array item of that key(com.apple.developer.in-app-payments) in entitlement its working fine. screencast.com/t/mfW7CABNuxE

Thanks for your support.

Upvotes: 0

lxt
lxt

Reputation: 31294

Have you created a merchant ID on the Apple developer portal, provided a certificate for that ID, and enabled the required entitlements inside your project?

Upvotes: 0

Related Questions