I am using Payfort test endpoint: https://sbpaymentservices.PayFort.com/FortAPI/paymentApi
I have account and I followed API documentation
and when I do post to this payload parameters on the above api :
{
"access_code":"xxxx",
"amount":"1",
"card_number":"4005550000000001",
"command":"AUTHORIZATION",
"currency":"USD",
"customer_email":"xxxx@gmail.com",
"expiry_date":"2105",
"language":"en",
"merchant_identifier":"xxxx",
"merchant_reference":"asdsad324234",
"signature":"0FD150867E1E7C205ECCAE2D0ADD82C71BEC8A1327216DD75BCEB811B8992EED",
"token_name":"Op9Vmp"
}
and I got the response saying that "response_message": "Invalid extra parameters",
response :
{
"amount": "1",
"response_code": "00027",
"card_number": "400555******0001",
"signature": "19bc7338a0b41919c874e4b1d3cb14a1b17c9bffc5f92058ef93b95adfa0f661",
"merchant_identifier": "xxxx...",
"access_code": "xxxxxx...",
"expiry_date": "2105",
"language": "en",
"command": "AUTHORIZATION",
**"response_message": "Invalid extra parameters",**
"merchant_reference": "asdsad324234",
"customer_email": "xxxx@gmail.com",
"currency": "USD",
"status": "00"
}
Comments
Post a Comment