- REST APIs
- Welcome
- Cards
- 3D Secure 2
- Vault
- Getting Started
- Using the API
- Typical API Calls
- Verify That the Service Is Accessible
- Create a Profile for a Customer
- Add an Address to a Profile
- Add a Card to a Profile
- Add a Bank Account to a Profile
- Create an Apple Pay Single-Use Token
- Create a Google Pay Single-Use Token
- Create a Mobile Single-Use Token
- Create a Direct Debit Single-Use Token
- Process a Transaction Using a Payment Token
- API Reference
- Test and Go Live
- Direct Debit
- Alternate Payments
- Platforms
- Overview
- Account Management
- Getting Started
- Using the API
- Typical API Calls
- Verify That the Service Is Accessible
- Create a New Merchant
- Create a New Merchant Account
- Create a New User
- Add an Address
- Create a Business Owner
- Add a Business Owner Address
- Add a Business Owner Identity Document
- Add a Merchant Bank Account
- Accept Our Terms and Conditions
- Activate the New Merchant Account
- Validate the Bank Account
- Enable Webhooks to Receive Application Statuses
- Test and Go Live
- Subaccounts
- Split Payouts
- Balance Transfers
- Reference Information
- SDKs
- Server Side
- Paysafe.js
- Paysafe Checkout
- Paysafe Request
- Mobile
- Mobile SDKs
- iOS
- Android
- Additional Documentation
- Resources and Support
- Shopping Carts
- Classic APIs
- Glossary
Running a Sample Application
Sample applications allow developers to quickly integrate with the Paysafe iOS SDK on an Xcode simulator (in the Test environment only). The sample simulator application helps to simulate the end-to-end transaction flow by using a sample Apple Pay payment token without needing a real iOS device and an actual registered card for testing.
In order to run a sample application, please refer to our sample example applications in https://github.com/paysafegroup/paysafe_sdk_ios/tree/master/Examples where you will find both Objective-C and Swift sample text applications. We are assuming that you integrated using CocoaPods or the traditional framework.
To run a test application, you need to code sign in with your Apple Developer account and provisioning profile. You also need to add your merchant configuration data in the MerchantRealConfiguration.plist file. Please refer to the sample below.
Apple Pay Support: Make sure you enable Apple Pay on the Capabilities tab.