Clearpay test automation

Payments

Pay later only works if it works every time. DoesQA proves Clearpay messaging and checkout on every release.

Clearpay logo
Clearpay logo

Test Clearpay messaging and checkout flows end to end.

What we test on Clearpay

  • Instalment messaging on product and basket pages

  • Clearpay at checkout

  • Redirects and returns to the store

  • Cancelled payments

  • Order confirmation

How to test Clearpay

Use the Clearpay sandbox, not production. Clearpay provides sandbox credentials through your account manager. In the sandbox, no SMS is sent; use 111111 as the verification code. The capture result is determined by CVV: 000 is approved, 051 is declined. Test messaging, a successful checkout, a decline or cancellation, and the return to your store.

Run those journeys on every release, on every market where Clearpay is offered.

In DoesQA, Switch Window follows the Clearpay journey and brings the test back to your store. Checks confirm the right amounts and messages appear.

Clearpay test checklist

  • Instalment messaging on a product page and in the basket.

  • A successful Clearpay checkout in the sandbox, using official test details.

  • A declined payment (CVV 051 in the Clearpay sandbox) or a cancelled payment.

  • Return to the store and the order confirmation.

Where Clearpay tests usually break

The shopper leaves your checkout to approve the payment.

Follow the redirect or window and check the return to the store. In DoesQA, Switch Window follows the Clearpay journey and comes back.

Sandbox and production use different credentials and URLs.

Accounts created in the sandbox exist only there, and no money moves. Use sandbox credentials from your Clearpay account manager.

Messaging can be wrong even when checkout works.

Check the instalment amounts on the product and basket pages, not only that the Clearpay button is present.

What you need to get started

  • A storefront pointed at the Clearpay sandbox. Sandbox credentials come from your Clearpay account manager. The sandbox API base URL is https://api.sandbox.clearpay.co.uk, and the sandbox Business Hub is at portal.sandbox.clearpay.co.uk. Source: Test Environments (fetched 10 November 2026).

  • A unique test email and phone number for each sandbox customer. No SMS is sent; use 111111 as the verification code. For cards, visa 4111 1111 1111 1111 with CVV 000 is approved and 051 is declined (any future expiry). Same source.

Trusted by teams that ship every day

Our customers test Clearpay with DoesQA on every release.

DoesQA Flows dashboard

Get your next release tested end to end.

Hosted journeys with email, MFA, and branching. Shared Elements keep maintenance low. Pass and fail from real hosted browsers.

DoesQA Flows dashboard

Get your next release tested end to end.

Hosted journeys with email, MFA, and branching. Shared Elements keep maintenance low. Pass and fail from real hosted browsers.

Get your next release tested end to end.

Hosted journeys with email, MFA, and branching. Shared Elements keep maintenance low. Pass and fail from real hosted browsers.