Digital wallet payments (Apple Pay and Google Pay)
Take payments using digital wallets
Overview
Digital wallets are a secure and convenient way for customers to pay for goods and services online. They allow customers to store their payment details securely and make payments without having to enter their card details each time. OnlinePay supports both Apple Pay and Google Pay™ for all payments except Virtual Terminal.
Apple Pay and Google Pay are automatically enabled on your Payment Provider Contract (PPC) for all OnlinePay merchants. You do not need to activate digital wallets in the OnlinePay dashboard.
If you use OnlinePay's Hosted Checkout or Pay by Link, customers can choose an available digital wallet and follow the wallet provider's payment flow to finalise their purchase. OnlinePay then returns the transaction response to you.
API merchants using the Checkout API or eCommerce API must pass their Payment Provider Contract ID in the Apple Pay or Google Pay object in the payment method to process digital wallet payments.
Apple Pay digital wallet
Apple Pay is a digital wallet and mobile payment option developed by Apple Inc. It facilitates in-person payments, via iOS apps, and online. It is available on Apple devices such as iPhone, iPad, Apple Watch, and Mac.
Enable Apple Pay on your website
If you integrate directly with the OnlinePay eCommerce API, you must register and verify each website domain where you offer Apple Pay. This website setup is required even though Apple Pay is already enabled on your PPC.
Domain verification must be in place before you can use Apple Pay via the OnlinePay eCommerce API.
For more information, see Preparing merchant domains for verification in the Apple Developer documentation.
-
In the OnlinePay dashboard, navigate to Administration > Advanced Settings > Wallets.
-
Click Add new Wallet.
-
On the Create Wallet page, select the organisation you want to accept Apple Pay as a payment method.
-
Choose Apple Pay for Web as the wallet type.
-
Enable the Enable Apple Pay for web via direct API checkbox.
-
Provide your Merchant URL for verification. This is the URL where Apple Pay will be used.
-
To enable Apple Pay via your own merchant domain, OnlinePay must be able to verify the domain with Apple. To do this, you must add a file to your domain. Click Download verifyDomain.txt to download the file.
-
Upload the file to the root directory of your domain at the following path for your domain:
https://[DOMAIN_NAME]/.well-known/apple-developer-merchantid-domain-association -
Click Add Wallet to add Apple Pay to the list of available payment methods for the selected organisation.
-
To confirm that the domain verification is successful, click Verify domain.
If the verification is successful, the Apple Pay wallet status will change to
Active.
Google Pay™ digital wallet
Google Pay is a digital wallet platform and online payment system developed by Google. It allows users to make contactless payments in-app, online, and in-store from Android mobile devices. Google Pay can be used for all transactions except Virtual Terminal.
Google Pay is automatically enabled on your PPC. No additional wallet setup is required in the OnlinePay dashboard. If you use an OnlinePay API, include the Google Pay object and your Payment Provider Contract ID in the payment request.
Updated 12 days ago