2 posts / 0 new
Last post
songwenxie739
Credit Card Payments API test works with only fixed data

I just made a simple change to the test data - change amount from "1299" to "1200", regenerate HMAC, received 403 error code. Turned on debugger, I see the the payload still has amount 1299, I guess HMAC is calculated based on the new payload that has amount 1200.

HTTP/1.1 403 Forbidden
Connection:
keep-alive
Content-Length:
51
Content-Type:
application/json
{
"code": "403",
"message": "HMAC validation Failure"
}


sachinshetty_1_...
Re: Credit Card Payments API test works with only fixed data

Thank you for bringing this to our attention.This is a current bug with our API docs. We are working on a fix that's currently being tested. We'll keep you posted once the update is in place.