Closed Aurel4012 closed 5 years ago
Solved It's little bit strong, i advert Mangopay. We don't give me the correct client ID in production it's same i use when i want refund but without first uppercase. But whith the incorrect ID i don't have trouble when i make payin only in refund.
Hi, i have a problem when i want refund user in production. In sendbox everything is ok and i use the same code but in production i have this return:
MangoPay\ResponseException Code: 400
Message: Bad request. One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.
Details: MangoPay\Libraries\Error Object ( [Message] => One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error. [Errors] => stdClass Object ( [payinId] => The value 744287650 is not valid )
) I see in my dashboard production and the PayInId and AuthorId are good. I use this code:
Of course my cliendID, tempfile and key are good in production and not the same in dev I can make payin succefully in prod. Have you an idea ?