Google Pay test orders
Overview
You can simulate both successful and failed Google Pay payments by controlling the outcome through the order amount. Simulation is automatically activated when the DOTEST=1 parameter is present on the order — no additional configuration is required.
Availability
Supported for: Default Templates
Trigger amounts for error simulation
Enter one of the amounts below to trigger the desired scenario. Any other amount returns a success.
$0.01
Card declined
Generic "payment failed" message + retry CTA
$0.02
Insufficient funds
Friendly insufficient funds message
$0.05
Do not honor
"Your card was declined"
$0.07
Stolen card
Generic "payment failed" message (actual reason is never revealed)
$999.00
Amount too large
Amount-specific error message
$9,999.99
Transaction not allowed
Message with support contact hint
Any other amount
Success
"Thank you" page
Trigger amounts also work in NOK and SEK — USD is the recommended currency for testing.
Cart setup
Fill in the cart fields with the following data:
Billing currency: USD
Payment option: Google Pay
Payment flow
Successful payment
Fill in the cart with an amount not listed in the error table above (e.g. $10.00).
Click the Buy with Google Pay button.
You are redirected to the Google page — sign in with your Google credentials.
Click Next, select a card, and click Pay.
You are redirected to the Thank you page — the test order has been recorded.
Simulated error payment
Fill in the cart with one of the trigger amounts from the table above (e.g. $0.01 for card declined).
Click Buy with Google Pay and complete the Google authentication.
After processing, you are redirected back to the checkout page with the corresponding error message.
The cart and session are preserved — you can retry immediately with a different amount.
Last updated
Was this helpful?