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 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.

Did you find this page useful?