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.

  1. In the OnlinePay dashboard, navigate to Administration > Advanced Settings > Wallets.

  2. Click Add new Wallet.

  3. On the Create Wallet page, select the organisation you want to accept Apple Pay as a payment method.

  4. Choose Apple Pay for Web as the wallet type.

  5. Enable the Enable Apple Pay for web via direct API checkbox.

  6. Provide your Merchant URL for verification. This is the URL where Apple Pay will be used.

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

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

  9. Click Add Wallet to add Apple Pay to the list of available payment methods for the selected organisation.

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



Did this page help you?

Terms and conditions Website requirements Other fees and charges

This information is a general statement for information purposes only and should only be used as a guide. While all care has been taken in preparation of this document, no member of the Westpac Group, nor any of their employees or directors gives any warranty of accuracy or reliability nor accepts any liability in any other way, including by reason of negligence for any errors or omissions contained herein, to the extent permitted by law. Unless otherwise specified, the products and services described are available only in Australia.

Visa is a registered trademark of Visa International Service Association. Mastercard® is a registered trademark of Mastercard International Incorporated. American Express® is a registered trademark of American Express. UnionPay is a trademark of UnionPay International Co. Ltd.
Apple, the Apple logo, Apple Pay, Apple Watch and iPhone are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. Google Pay™ is a trademark of Google LLC.
Bluetooth® is a registered trademark owned by Bluetooth SIG, Inc. and use of the mark by Westpac is under license.

© Westpac Banking Corporation ABN 33 007 457 141 AFSL and Australian credit licence 233714.