• Ready for review
  • Sandbox Apple Pay Testing

    This guide provides instructions on testing Apple Pay transactions in the Sandbox environment.

    Prerequisites

    • iOS device with Apple Pay support.

    • Sandbox account set up on ApplePay Payrix Tester account.

    1. Request a new Apple Sandbox Test Account

    • Step 1: Create a new support ticket to request your Sandbox test accounts with the following information and provide any additional information or instructions as needed, then send the email. :

    Subject: Addition of Sandbox Test Account for Apple Pay Testing

    Hello, I would like to add Sandbox Test accounts for Apple Pay. Below are the email addresses I’d like to include for the Sandbox Test accounts that are not associated with existing Apple IDs:

    • Email 1: …….

    • Email 2: ……

    Result: Once each Sandbox test account is created, the associated email will be automatically added to the Apple Developer sandbox environment, where Apple will send an email directly to each account with activation instructions.

    2. Configure your Payment Page with Apple Pay

    Once you’ve activated the Apple Developer sandbox environment through their instructions, follow the steps below to set up your payment page to begin testing.

    3. Configure the Apple Device

    After following the Apple Developer activation steps and configuring your PayFields page, use the steps below to prepare your Apple iOS device for testing with Apple Pay.

    • Step 1: Log in to iCloud on your Apple iOS device using your new sandbox account information.

    • Step 2: On the iOS device, go to "Settings" > "Apple Pay & Wallet".

    • Step 3: Choose and add the cards for testing.

    • Step 4: Enable Apple Pay if not already enabled.

    • Step 5: Ensure a test payment card is added to the device's Wallet.

    Click on the expandable content below to view a table of test credit cards that can be used for testing in the Apple Pay wallet on your device:

    Card Brand

    Card Number

    Expiration Date

    Security Code

    Card Brand

    Card Number

    Expiration Date

    Security Code

    American Express

    3717 377570 42005

    Any

    1111

    American Express

    3717 377724 91005

    Any

    1111

    Discover

    6011 0009 9446 2780

    11/2024

    111

    Discover

    6011 0009 9458 9319

    11/2024

    111

    Mastercard

    5204 2452 5046 0049

    12/2024

    111

    Mastercard

    5204 2452 5052 2095

    12/2024

    111

    Visa

    4761 1200 1000 0492

    01/27

    480

    Visa

    4761 3497 5001 0326

    01/27

    982

    Note: The card information shown below will not work in any other payment environment and is only applicable to Apple Pay & Wallet testing with a valid Apple Developer account.

    Result: Now that you’ve setup your Apple Pay & Wallet settings for the test card(s) on your iOS test device, you can perform a test transaction on your payment page to verify your Apple Pay integration is working as expected at checkout.

    4. Perform a Test Transaction

    Once your test iOS device is set with the test card info, you can access your online payment page using the device and test your first transaction with the steps below:

    • Step 1: Open the Payment Page on the iOS device.

    • Step 2: Tap the displayed Apple Pay button at checkout.

    • Step 3: Select the test card configured in the previous step as the payment method.

    • Step 4: Confirm the transaction with Face ID, Touch ID, or your device passcode.


    Verify the Result

    Once successfully submitted, your transaction will appear with the amount, date, and time through the Portal and will display Apple Pay as the chosen payment method on the Transaction Details page.

    To confirm 100% accuracy, review if all transaction data reported for the test Apple Pay transaction in the Portal matches the amount, date, and time of the transaction processed on your payment page.

    If a transaction fails, debug your payment page integration to identify potential issues.

    1. Check the console log for error messages or exceptions.

    2. Fix any issues found and repeat the test as necessary.