# Test payments

Cards, accounts and passwords that work in each provider's sandbox.

Every method below runs against its provider's test environment. Nothing is
charged. The values are the providers' own public test data, so they work in
any sandbox account where the method is enabled.

A method only shows where it applies, such as Bancontact for a Belgian billing
address in EUR. Use a matching test address. The full list is in
[Payment providers](/docs/shop/payments#methods-and-providers).

## Card

| Provider | Succeeds              | Asks for 3-D Secure   | Expiry and security code      |
| -------- | --------------------- | --------------------- | ----------------------------- |
| Stripe   | `4242 4242 4242 4242` | `4000 0027 6000 3184` | any future date, any 3 digits |
| Adyen    | `4111 1111 4555 1142` | `4917 6100 0000 0000` | `03/30`, `737`                |

**Declines:** Stripe refuses `4000 0000 0000 0002`. With Adyen, the cardholder
name `DECLINED` makes the card fail. Adyen's 3-D Secure page accepts the password
`password`.

Which provider carries the card? Look at `payments.card` in your Channel, or at
`quote.paymentMethods`.

## Bancontact

Card number `6703 4444 4444 4449`, expiry `03/30`. Bancontact has no security
code. Every payment runs 3-D Secure; the test page accepts the password
`password`.

The field takes only the Bancontact brand. A buyer who wants to pay with the
Visa or Mastercard side of a co-badged card chooses the card method.

## Pay by Bank

The buyer chooses their bank at Tink. In the sandbox:

1. Choose **Tink Demo Bank**, then **Open banking**, then **Password and OTP With Templates**.
2. Confirm with **Weiter** and log in with the country's test user below.
3. Choose **2FA App Code** and enter `1234`.
4. Pick any account, confirm, and enter `1234` once more to approve the payment.

| Billing country | Username    | Password |
| --------------- | ----------- | -------- |
| Germany         | `u83188312` | `zhx571` |
| France          | `u77894411` | `mzw990` |
| Finland         | `u06516046` | `kam413` |

To see a failure, log in with `u92721594` / `nbs589` (login refused) or
`u91902655` / `jtx720` (temporary bank error). The buyer returns to the
checkout and can pay another way.

Pay by Bank starts a bank transfer. Adyen confirms the payment once the
transfer is started; if the money never arrives, Adyen books a chargeback
after eight business days.

## PayPal

Log in at PayPal's sandbox with a personal sandbox account from your
[PayPal developer dashboard](https://developer.paypal.com/dashboard/accounts).
After approval, the buyer confirms the order back on your checkout.

## Amazon Pay

Use an Amazon Pay **sandbox buyer** created in your merchant account, not a real
Amazon buyer account or the card numbers above. Configure the six
[Amazon Pay bindings](/docs/shop/payments#amazon-pay), a `test` deployment, matching
region and ledger currency, and registered HTTPS storefront origins and review
URLs. Both prefixed (`SANDBOX-…`) and unprefixed public key IDs are supported.

Accept the following against Amazon's real sandbox before enabling the method:

1. Open the official Amazon button, choose a delivery address and return to the review.
2. Check the read-only address, the actual payment descriptor, shipping, tax and total.
3. Change address and payment using the hosted controls; return and check the refreshed Quote.
4. Confirm once, complete any Amazon authorization step, and return to one Order. Reloading must not place another Order.
5. Verify separate capture and a partial refund, including their eventual result through server polling.
6. Cancel or abandon approval and retry; another buyer's session must never expose their details or order this Cart.

These real-provider checks remain owner acceptance; automated SDK/runtime tests
do not replace them. No SNS/IPN endpoint needs registering.

## TWINT

The order button leads to Adyen's TWINT simulator. Choose **authorised** to
pay, or **cancelled**, **refused** or **error** to see the buyer return to the
checkout. The two **pending** buttons decide later, after the chosen delay,
through Adyen's webhook.