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)

The sandbox does not send any real-time notifications (e.g., email, SMS, or push) to the email or mobile number entered. All values are used purely for simulated UI purposes.

How-to

Initial from with card enrollment process

To try Click-to-Pay in sandbox mode, follow these steps:

  1. Open the Demo Shop - In the left-side menu of the Merchant Portal, click “Demo Shop”.

  2. Select an Item - Browse the list of demo products and click on the one you’d like to “buy”.

  3. Go to Basket and Proceed to Checkout - Add the item to your basket and press the “Checkout” button.

  4. Redirect to Gateway Hosted Checkout Page - You will be redirected to the Gateway-hosted secure checkout page.

  5. Choose “Click-to-Pay” as the Payment Method - On the checkout screen, select Click-to-Pay from the available payment options.

Click-to-pay

Click-to-Pay in sandbox mode cannot be used for production testing, certification, or actual scheme-level behavior analysis.

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.

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.

  1. User enters the same email address used in a previous Click-to-Pay test.

  2. The system detects the user and displays a mock OTP authentication screen.

  3. The user is prompted to enter a one-time code.

  4. Enter the dummy OTP: 123456

  5. Upon successful entry, the stored test Mastercard is shown immediately.

  6. User selects the card and completes the payment with a single click.

Last updated

Was this helpful?