first commit
This commit is contained in:
5
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/notification.json
vendored
Normal file
5
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/notification.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"paymentId": "NOLV-8F9-08K-WGD",
|
||||
"status": "CONFIRMED",
|
||||
"modifiedAt": "2018-12-12T13:24:52"
|
||||
}
|
||||
9
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/payment_failed.json
vendored
Normal file
9
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/payment_failed.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"statusCode": 400,
|
||||
"errors": [
|
||||
{
|
||||
"errorType": "VALIDATION_ERROR",
|
||||
"message": "currency: invalid field value (EUR)"
|
||||
}
|
||||
]
|
||||
}
|
||||
9
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/payment_request.json
vendored
Normal file
9
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/payment_request.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"amount": 100,
|
||||
"currency": "PLN",
|
||||
"externalId": "success_1234567",
|
||||
"description": "Test payment",
|
||||
"buyer": {
|
||||
"email": "customer@domain.com"
|
||||
}
|
||||
}
|
||||
4
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/payment_status.json
vendored
Normal file
4
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/payment_status.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"paymentId": "PBYV-3AZ-UPW-DPC",
|
||||
"status": "NEW"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"statusCode": 404,
|
||||
"errors": [
|
||||
{
|
||||
"errorType": "NOT_FOUND",
|
||||
"message": "Could not find status for payment {paymentId=PBYV-3AZ-UPW-DPCf}"
|
||||
}
|
||||
]
|
||||
}
|
||||
5
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/payment_success.json
vendored
Normal file
5
plugins/stPayNowPlugin/vendor/pay-now/paynow-php-sdk/tests/resources/payment_success.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"redirectUrl": "https://paywall.sandbox.paynow.pl/NO0U-5G2-XC1-ESX?token=eyJraWQiOiJhMDAyNjJjYS02NTU3LTRjOTktOGU0NC1kMTFlMTAxYjhhNTIiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJOTzBVLTVHMi1YQzEtRVNYIiwiYXVkIjoicGF5d2FsbC5zYW5kYm94LnBheW5vdy5wbCIsImlzcyI6InNhbmRib3gucGF5bm93LnBsIiwiZXhwIjoxNTY2ODk5MTYwLCJpYXQiOjE1NjY4MTI3NjB9.25TM-BXTDJV3NLEufgYVNZ7W_0JmJjS2Qu-0-d1HIQM",
|
||||
"paymentId": "NO0U-5G2-XC1-ESX",
|
||||
"status": "NEW"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"statusCode": 400,
|
||||
"errors": [
|
||||
{
|
||||
"errorType": "VALIDATION_ERROR",
|
||||
"message": "continue_url: invalid field value"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user