Testing
The following currencies are supported in the sandbox environment.
- Australian dollar (AUD)
- Canadian dollar (CAD)
- Czech koruna (CZK)
- Danish krone (DKK)
- Euro (EUR)
- Hong Kong dollar (HKD)
- Hungarian forint (HUF)
- Japanese yen (JPY)
- Mexican peso (MXN)
- New Zealand dollar (NZD)
- Norwegian krone (NOK)
- Polish zloty (PLN)
- Pound sterling (GBP)
- Russian ruble (RUB)
- Singapore dollar (SGD)
- Swedish krona (SEK)
- Swiss franc (CHF)
- Thai baht (THB)
- United States dollar (USD)
Positives
Below are the positive test case input definitions with the expected results in the last column.
Country code | Currency code | Payment product ID | Amount | Paypal account usr | Paypal account pwd | Payment status ID |
---|---|---|---|---|---|---|
AU | AUD | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
CA | CAD | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
CH | CHF | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
CZ | CZK | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
DK | DKK | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
NL | EUR | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
GB | GBP | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
HK | HKD | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
HU | HUF | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
JP | JPY | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
MX | MXN | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
NO | NOK | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
NZ | NZD | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
PL | PLN | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
RU | RUB | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
SE | SEK | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
SG | SGD | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
TW | TWD | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
US | USD | 840 | 100 | "gcsstag@outlook.com | gcs2live" | 800 |
Negatives
For testing negative payment flow, please cancel the payment after redirect, status of the payment will be 125.
Refunds in sandbox
Transactions are not refundable on status Completed with status ID 800, as for that a separate process is scheduled to have the payment end up on a refundable status. Please wait for 1 hour for all your test transactions at status Completed with status ID 800 to be processed like this and set to be ready for refunds
Payment test steps
After initializing the payment a redirect needs to happen. The page will look like below.
Please fill in the following data:
- Paypal password: gcs2live
- Email: gcsstag@outlook.com
Click ‘pay now’, you will automatically be redirected to RETURNURL. The payment ends up on status Completed with status ID 800.
Next Additional information