callback response 422

Highlighted
New Member
1 0 0

Hello,

I work on a payment gateway.

All our callback response by a httpCode 422.

For notify an payment/Authorization we send this :

POST => https://[store_name].myshopify.com/services/ping/notify_integration/pachira_pay/28350775405 

Body :

{
"x_account_id": "c09387ba-a2be-4427-8cb3-93c4623e6f82",
"x_amount": "33.70",
"x_currency": "EUR",
"x_gateway_reference": "2009281139426397297",
"x_reference": "15046992396397",
"x_result": "completed",
"x_test": "true",
"x_message": "authorized",
"x_timestamp": "2020-09-28T13:29:22.7675051\u002B00:00",
"x_transaction_type": "authorization",
"x_signature": "2621bb19c92ffbf8582dceae4055fcce22b24fb9592ba2d45c2bbf03e84daa5c"
}

 

Response => Call failed with status code 422 (Unprocessable Entity)

 

For a capture we have the same problems.

We send this :

POST => https://[store_name].myshopify.com/services/ping/notify_integration/pachira_pay/28350775405 

Body :


{
"x_account_id": "c09387ba-a2be-4427-8cb3-93c4623e6f82",
"x_amount": "33.70",
"x_currency": "EUR",
"x_gateway_reference": "2009281139426397297",
"x_reference": "15046992396397",
"x_result": "completed",
"x_test": "true",
"x_timestamp": "2020-09-28T16:26:44Z",
"x_message": "Capture success",
"x_transaction_type": "authorization",
"x_signature": "c0314fa1e35cecf13d25d7de8c4f8fa1b4d08a3b09732d839e7c9053c7d4e4d7"
}

Response = > Call failed with status code 422 (Unprocessable Entity)

 

Can you help me, please ?

 

Best Regard,

0 Likes