iOS SDK for Tap To Pay on iPhone using Tyro Payments as the Payment Service Provider (PSP)
- Xcode or above
- iPhone with
Tap to Pay on iPhone
hardware capability (iPhone XS or above) - iOS 17.0 or above
This project requires Xcode. You can see all the Xcode releases and version info at Xcode Releases
Make sure, you have the correct version of the Xcode command line tools installed:
xcode-select --install
Refer to The SampleApp source code for a working example iOS app integrating with Tyro's SDK for Tap to Pay on iPhone
.
You must request access to the Tap to Pay on iPhone
entitlement from Apple directly, refer to Apple's proximity reader documentation for more information.
Create necessary certificates and provisioning profiles
- Setup Code Signing and Provisioning Profiles in your Xcode project;
- Ensure the Bundle identifier matches the format that you will use for code signing;
- Configure the team for each target within the project and ensure it is consistent with your Code Signing configuration.
- Add the
Tap to Pay on iPhone
entitlement, note this will appear in the list of available options when code signing is correctly configured. - Add the
tyro-tap-to-pay-ios
Swift Package to your project; - Add the (Tyro provided) environment config (.env) file to your project's
Supporting Files
sub-directory and add keys to the project info plist (detailed in the documentation); - Import TyroTapToPaySDK in your source code
- Create an instance of the TyroTapToPay class:
- Inject the TyroEnvironment and your ConnectionProvider implementation
- Call the
connect()
method of the TyroTapToPay instance.
For more details, refer to the Documentation.
A preview of our API documentation can be found here:
Refer to Apple's Tap to Pay Marketing Guidelines
Reach out to the Connect Support Team
at [email protected]
Tap to Pay on iPhone requires the latest version of iOS. Update to the latest version by going to Settings > General > Software Update. Tap Download and Install. Some contactless cards may not be accepted. Transaction limits may apply. The Contactless Symbol is a trademark owned by and used with permission of EMVCo, LLC. Tap to Pay on iPhone is not available in all markets. View Tap to Pay on iPhone countries and regions.