# Test Guide
This section provides guidelines for testing various payment methods supported in Paytool solution, including plain card number, google pay, apple pay, and BLIK on environment `TEST`.

**Tip:** Check it now. Verestro Paytool demo application is available [here.](https://paytool.verestro.dev/demo/)

## Plain card number This method involves processing payments using credit or debit cards. In order to test it you will need to generate test cards because of possibility of getting card blocked due to anti-fraud policies on the acquirer side. Payment with plain card number use case is described [here](https://bookstack.verestro.dev/books/paytool/page/use-cases#bkmrk-plain-card-number). ### Test cards
Card type Card BIN
VISA 511796XXXXXXXXXX
Mastercard 545313XXXXXXXXXX
There's need of generation PAN numbers from these BIN's, in order to do such so you can use [Credit Card Generator](https://www.businer.com/discard_credit_card_generator.php).

**Note:** CVV may be randomized, expiration date must not be expired.

### Testing various transaction paths
As described in the chapter on [3DS authentication](https://bookstack.verestro.dev/books/paytool/page/use-cases#bkmrk-blik:~:text=step%20by%20step-,ThreeDs%20authentication,-Transactions%20using%20payment), there are various ThreeDs paths, In order to be able to test different flows, you need to manipulate the transaction amount to get into the selected transaction path:
ThreeDs mode Amount
[`FRICTIONLESS`](https://bookstack.verestro.dev/books/paytool/page/use-cases#bkmrk-%40startumlskinparam-p-2) 100 - 1000
[`CHALLENGE`](https://bookstack.verestro.dev/books/paytool/page/use-cases#bkmrk-challenge) 1001 - 3000

**Note:** Amount is a value determining amount of cash transferred in one hundredth of the currency \[1,00 USD = 100\].

**Tip:** Select an amount between 3001-8000 to test failed transaction.

## Google Pay
In order to be able to test google-pay, you need to add a tokenized card to your google account. You need to register with the [google test card suite group](https://developers.google.com/pay/api/web/guides/resources/test-card-suite?hl=en) to do so. Follow these instructions from google's documentation. After registration in [google test card suite group](https://developers.google.com/pay/api/web/guides/resources/test-card-suite?hl=en) you are ready to test Google Pay token payment. After logging into your test account and selecting Google Pay, you should have a choice of several test cards added to your account which you can use to make a payment in Paytool `TEST` environment. Google Pay payment use case is described [here](https://bookstack.verestro.dev/books/paytool/page/use-cases#bkmrk-google-pay).

**Note:** To be able to test all flows of ThreeDs in Google Pay follow the description about [testing various transaction paths](https://bookstack.verestro.dev/books/paytool/page/test-guide#:~:text=an%20expired%20date.-,Testing%20various%20transaction%20paths,-As%20described%20in)

## Apple Pay This method involves processing payments using tokenized credit or debit cards. You need to create Apple sandbox tester account. Follow [apple documentation](https://developer.apple.com/apple-pay/sandbox-testing/#:~:text=supports%20TLS%C2%A01.2.-,Create%20a%20Sandbox%20Tester%20Account,-To%20create%20a) to do so. After registration and logging in into tester account you are ready to test Apple Pay token payment. There is a list of [apple-pay valid payment cards.](https://developer.apple.com/apple-pay/sandbox-testing/#:~:text=Test%20Cards%20for%20Apps%20and%20the%20Web) Payment with Apple Pay use case is described [here](https://bookstack.verestro.dev/books/paytool/page/use-cases#bkmrk-apple-pay). ## Blik

**Important!** Implemenation is work in progress...