Mangopay / mangopay2-php-sdk

PHP SDK for MANGOPAY
https://packagist.org/packages/mangopay/php-sdk-v2
MIT License
122 stars 133 forks source link

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

Open Name-less opened 11 months ago

Name-less commented 11 months ago

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 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

@Name-less Thanks. We will investigate.

qdequippe commented 10 months ago

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 commented 8 months ago

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

Name-less commented 8 months ago

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