Enabling Apple Pay capability in your application
Prior to initializing the SDK, you must enable Apple Pay capability in your application and associate it with the Apple Pay merchant ID
- Choose the application target in Xcode.
- Click on the Signing & Capabilities tab in the project editor.
- In the toolbar, click the Library (+) button to open the Capabilities library.
- Select the Apple Pay capability.
- In Apple Pay, click the refresh button to sync your merchant credentials from the Apple Pay Developer website.
- Once the synchronization is done, select the Apple Merchant Identifier number to use with your application.