- npm install
cp example.env env
- change variables in
.env
file - copy
/tests/fixtures/example.mockData.json
tomockData.json
- change values in
mockData.json
to yours - npm run dev
- app running on: http://localhost:3003
- SANDBOX: https://secure.snd.payu.com
- PRODUCTION: https://secure.payu.com
In order to test card payments on sandbox, please use the following credentials.
Card issuer | Number | Month | Year | CVV | 3-D Secure | Behavior |
---|---|---|---|---|---|---|
Visa | 4444333322221111 | 01 | 21 | 123 | no | Positive authorization |
MasterCard | 5434021016824014 | 01 | 21 | 123 | no | Positive authorization |
Maestro | 5099802211165618 | 01 | 21 | 123 | no | Positive authorization. CVV is not required in single click payments (PayU |
Visa | 4012001037141112 | 01 | 21 | 123 | yes | Positive authorization |
Maestro | 5000105018126595 | 01 | 21 | 123 | no | Negative authorization |
Visa | 4000398284360 | 01 | 21 | 123 | no | Negative authorization |