Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth token is not created (or is invalid) for strong authentication #614

Open
Name-less opened this issue Oct 27, 2023 · 6 comments
Open

Comments

@Name-less
Copy link

Hello,

Sometimes i got this error while using mangopay php sdk :
OAuth token is not created (or is invalid) for strong authentication

Do you have any open issue on this message error ?
It works without problem 90% of the time and sometime, without any modification, i got this error message...

Thanks

@fredericdelordm
Copy link
Contributor

Hello @Name-less,

Do you have this error when you are using a specific function? If you redo the call, do you still have the error?

@Name-less
Copy link
Author

This error is random so I can't reproduce it sorry...

Last time I get this error was 30/10/2023 at 18:51.

The error occurs on two specifics functions : cardregistration_create and users_allcards
reateObject [class] => MangoPay\Libraries\ApiBase [type] => -> [args] => Array ( [0] => cardregistration_create [1] => MangoPay\CardRegistration Object

and

rray ( [filter] => MangoPay\FilterCards Object ( [Active] => true ) ) ) ) [5] => Array ( [file] => /var/www/html/sites/bad-asso/vendor/mangopay/php-sdk-v2/MangoPay/ApiUsers.php [line] => 206 [function] => GetList [class] => MangoPay\Libraries\ApiBase [type] => -> [args] => Array ( [0] => users_allcards [1] => MangoPay\Pagination Object ( [Page] => 1 [ItemsPerPage]

Thanks for your answer.

@fredericdelordm
Copy link
Contributor

@Name-less Thanks. We will investigate.

@qdequippe
Copy link

Same issue also on trying to request a PayIn (Hook callback).

Uncaught PHP Exception MangoPay\Libraries\Exception: "OAuth token is not created (or is invalid) for strong authentication" at /.../vendor/mangopay/php-sdk-v2/MangoPay/Libraries/AuthenticationHelper.php line 87

@Name-less
Copy link
Author

Any news on this ? When the error happens, our customers can't finalyse their paiement which is really embarrasing...

1 similar comment
@Name-less
Copy link
Author

Any news on this ? When the error happens, our customers can't finalyse their paiement which is really embarrasing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants