Testing

Apple Pay Testing

5min

Overview

You will learn how to get started with testing Apple Pay in our sandbox environment, what are the requirements, and what test scenarios are available.

Before Starting

  • Make sure to use Safari.
  • Make sure to use an iOS device with Touch ID or Face ID, not a simulator. Apps
  • Make sure to have cards available in your Wallet. Apps | Websites

Getting Started

Testing Apple Pay with Moyasar is super simple, you just need to make payments using your test API keys and choose from the amounts below to simulate different scenarios.

Testing Scenarios

Amount Range (cents)

Result

100 <-> 10000

APPROVED

10100 <-> 60000

UNSPECIFIED_FAILUR

60100 <-> 100000

DECLINED

110000 <-> 170000

INSUFFECIANT_FUNDS

Other

APPROVED



It's recommended to test out Apple Pay in the live environment too, you can void the payment as soon as you make it without the amount being debited from your account

Resources



Updated 23 Nov 2023
Did this page help you?