
Then you can ask iOS whether the user has any Apple Pay cards available because if the users doesn’t have any apple pay cards available or the device doesn’t support it, you want take them to traditional payment flow.First app will show/ display the your checkout flow.Send this token to your processor and display a success sheet in your app.Your app then receive a payment token in response (Now a payment token contains all the information you need to charge the payment, It’s encrypted using your merchant identifier certificate, so unique to you only you as the developer can decrypt it ).You also register a merchant ID and create a Payment Processing certificate, which is a cryptographic key that is used to securely send payment data to your server.

Apps that use Apple Pay need to enable the Apple Pay capabilities in Xcode. It’s just another great security benefit of apple pay.

They used this certificate to securely encrypt the payment information that we generate so it’s unique to you as a merchant, No body else can decrypt the payment information.

Like If you are using Uber app, then Uber company is the merchant What is Apple PayĪpple pay is an easy, private and secure way to pay within application as well as contactlessly and it allows for one touch payments and you can use it for physical goods and services
#APPLE SANDBOX TEST CARDS CODE#
All code follows iOS 11 Api’s MerchantĪ merchant is a company or individual who sells a service or goods. Majority of the contents were taken from WWDC. Note: Primarily purpose of this article is to put all the contents in one place.
