Click-to-Pay
The Click-to-Pay option in the sandbox simulates the network token-based checkout experience offered by major card schemes, such as Mastercard. It enables a secure, card-on-file payment flow, improving the customer experience by reducing friction at checkout.
In this simulated mode, you can explore the full Click-to-Pay journey and evaluate how it integrates into the EGW Hosted Checkout Page.
Testing Data
When using Click-to-Pay in the sandbox, you may enter the following test data to complete the flow:
Email Address: Any value (e.g., [email protected])
Mobile Phone: Any value (e.g., +358401234567)
Cardholder Name: Any value
Card Number: 5186 0000 0000 0005 (Mastercard test range)
Expiry Date: Any valid future date (e.g., 12/28)
CVV: Any 3-digit number (e.g., 123)
How-to
Initial from with card enrollment process
To try Click-to-Pay in sandbox mode, follow these steps:
Open the Demo Shop - In the left-side menu of the Merchant Portal, click “Demo Shop”.
Select an Item - Browse the list of demo products and click on the one you’d like to “buy”.
Go to Basket and Proceed to Checkout - Add the item to your basket and press the “Checkout” button.
Redirect to Gateway Hosted Checkout Page - You will be redirected to the Gateway-hosted secure checkout page.
Choose “Click-to-Pay” as the Payment Method - On the checkout screen, select Click-to-Pay from the available payment options.

Pay after enrollment process
The sandbox simulates a recognized user experience similar to real Click-to-Pay behavior.
If the user selects “Remember Me” during their first checkout, the system simulates device enrollment.
On the next visit, the user is automatically recognized.
The card list appears immediately, skipping email or phone entry.
The user simply selects the card and confirms payment.
This provides a fast, one-click payment experience for returning users.

Recognized User Flow (via Email)
The sandbox also supports a simulated recognized user flow based on the email address provided during Click-to-Pay checkout.
If a user has previously completed a Click-to-Pay payment and selected “Remember Me”, the next time they enter the same email address, they will be recognized automatically.
User enters the same email address used in a previous Click-to-Pay test.
The system detects the user and displays a mock OTP authentication screen.
The user is prompted to enter a one-time code.
Enter the dummy OTP: 123456
Upon successful entry, the stored test Mastercard is shown immediately.
User selects the card and completes the payment with a single click.

Last updated
Was this helpful?