mangopay2-php-sdk icon indicating copy to clipboard operation
mangopay2-php-sdk copied to clipboard

Allow to include TermsAndConditionsAccepted (set to true) in request when it has already been accepted

Open QuentinGab opened this issue 2 years ago • 1 comments

Problem:

After that the value of TermsAndConditionsAccepted has been set the first time, the api will always throw an error if a new request include TermsAndConditionsAccepted in its body:

The user already accepted our terms and conditions

Suggestion:

In order to be able to update manopay user without remembering if the user accepted or not mangopay terms (which means store this info in our db), you could ignore true value of TermsAndConditionsAccepted if already accepted (i.e not throw an error)

QuentinGab avatar May 24 '22 14:05 QuentinGab

Hello @QuentinGab,

Great feedback. We are reviewing this with the API team

fredericdelordm avatar May 25 '22 07:05 fredericdelordm

@QuentinGab it has been fixed in the API

fredericdelordm avatar Oct 26 '22 14:10 fredericdelordm