Apple Pay JS API

Apple Pay JavaScript API for web payment.

iOS 10 or later
macOS 10.12 or later

3 Requirements for using Apple Pay

1- An Apple Developer Account.

2- HTTPs site (all the site)

3- https://developer.apple.com/apple-pay/acceptable-use-guidelines-for-websites/

Advertisements

How to test apple pay transactions

Apple Pay –  mobile payment technology

apple pay testing

Testing Apple Pay Transactions

Use the Apple Pay Sandbox environment to test your transactions with test payment cards.

  1. In iTunes Connect, create a test account. This account works for both App Store and Apple Pay testing.

  2. On a valid test device, log into iCloud using the test account.

  3. In the Wallet app, add a new card using manual entry.

Logging in and out of your iCloud account removes your cards.

Tips: Don’t forget to enable the Apple Pay capabilities in Xcode.

More details: https://developer.apple.com/

 

Apple Pay

Apple Pay provides an easy and secure way for users to buy goods and services in your iOS app, watchOS app, or on your website.

Apple does not store or share a customer’s actual credit and debit card numbers, reducing the risk for merchants and app developers to manage and secure actual credit and debit card numbers.

Within your app or website, users can authorize payments using Touch ID or by double-clicking the side button of Apple Watch, releasing tokenized credit and debit card payment credentials that are securely stored on iPhone, iPad, Apple Watch or MacBook Pro with Touch ID.

apple pay

https://developer.apple.com/apple-pay/get-started/