SDK integration
This guide provides a step-by-step process to integrate the Yuno SDK with Apple Pay. Following this guide will enable seamless payment processing through Apple Pay.
Step 1: Add the Connection
To add the Apple Pay connection to the Yuno dashboard, follow these steps:
- Log in to your Yuno dashboard.
- Navigate to the Connections section.
- Locate and select the Apple Pay option and click Connect.
- Provide a Name for the connection, select Apple Pay as Payment method, and provide the information you acquired when following the Prerequisites process.
- Click Add. Apple Pay will be added to your connections.
![](https://files.readme.io/6d674dd-Screenshot_2024-07-02_at_2.27.47_PM.png)
Step 2: Add a Route for Apple Pay
Set up a new route to control how payments are processed through Apple Pay. Follow the steps below:
- In the Yuno dashboard, navigate to the Routing section.
- The Apple Pay new connection is on the Not published tab.
- Set up a new route by pressing Setup on your Apple Pay module and then pressing Create new route.
- Add conditions to specify when payments should be routed through Apple Pay.
- Add Apple Pay as the payment processor for this route to ensure that payments meeting the defined conditions are processed through Apple Pay.
- Save and publish the route once all configurations are properly defined.
The following image displays a simple route through which Apple Pay processes all payments.
![](https://files.readme.io/d5b9a8c-Screenshot_2024-07-02_at_2.30.09_PM.png)
Step 3: Checkout Builder
To make Apple Pay available to your end users, follow these steps:
- In the Yuno dashboard, navigate to the Checkout Builder section.
- Locate the available Payment methods and enable Apple Pay.
- Press Publish to make Apple Pay available as a payment option for all transactions that meet the defined routing criteria.
![](https://files.readme.io/4eb043c-Screenshot_2024-08-07_at_4.57.16_PM.png)
Step 4: Start Using Your Yuno Integration
With your Yuno integration set up, you're ready to start processing payments. Using our standard Full or Lite SDK integration, you can seamlessly offer payments through Apple Pay Wallet, providing your users with a smooth and secure payment experience.
![](https://files.readme.io/4617077-Screenshot_2024-08-07_at_5.03.42_PM.png)
Step 5: Prepare for Testing with Apple Pay
Before you start making test payments with Apple Pay, follow these steps to ensure your setup is correctly configured:
- Follow the official Apple Pay test guidelines to create a test account and set up test cards.
- Test in Safari to ensure compatibility and functionality.
- Set up the testing domain URL in the Apple Pay connection within your Yuno dashboard to ensure that payments are routed correctly during testing.
Updated 17 days ago