For the complete documentation index, see llms.txt. This page is also available as Markdown.

Apple Pay test orders

Overview

You can simulate both successful and failed Apple Pay payments by controlling the outcome through the order amount. Simulation is automatically activated when the DOTEST=1 parameter is present on the order URL — no additional configuration is required.


Availability

Supported for: Default Templates, ConvertPlus, Inline Cart


Trigger amounts for error simulation

Enter one of the amounts below to trigger the desired scenario. Any other amount returns a success.

Amount (USD)
Simulated scenario
FK code
GWERROR

$0.01

Card declined

FK_AUTH_FAILED (700700)

GWERROR_-19

$0.02

Insufficient funds

FK_INSUFICIENT_FUNDS (700701)

GWERROR_51

$0.05

Do not honor

FK_DO_NOT_HONOR (700708)

GWERROR_05

$0.07

Lost / stolen card

FK_STOLEN_CARD (700703)

GWERROR_666

$999.00

Amount too large

FK_AMOUNT_TOO_LARGE (700709)

GWERROR_13

$9,999.99

Transaction not allowed

FK_TRANSACTION_NOT_ALLOWED (700710)

GWERROR_57

Any other amount

Success

FK_AUTH_SUCCEEDED (0)

The $0.07 scenario (lost/stolen card) always displays a generic "payment failed" message — the actual decline reason is never exposed to the buyer.


Cart setup

Fill in the cart fields with the following data:

  • Billing currency: USD

  • Payment option: Apple Pay


Payment flow

Successful payment

  1. Fill in the cart with an amount not listed in the error table above (e.g. $10.00).

  2. Click the Buy with Apple Pay button.

  3. You are redirected to the Apple Pay payment screen — authenticate using Touch ID, Face ID, or your Apple Watch.

  4. Confirm the payment.

  5. You are redirected to the Thank you page — the test order has been recorded.

Simulated error payment

  1. Fill in the cart with one of the trigger amounts from the table above (e.g. $0.02 for insufficient funds).

  2. Click Buy with Apple Pay and complete the Apple authentication.

  3. After processing, you are redirected back to the checkout page with the corresponding error message.

  4. The cart and session are preserved — you can retry immediately with a different amount.

Notes:

  • The $0.07 scenario (lost/stolen card) always displays a generic message regardless of template — the actual decline reason is never exposed to the buyer.

  • Zero-value orders placed with Apple Pay TEST always return success (FK_AUTH_SUCCEEDED), regardless of the amount entered.

  • Apple Pay is only available on Safari and Apple devices (iPhone, iPad, Mac). The payment button will not appear on unsupported browsers or devices.

Last updated

Was this helpful?