WCMp Mangopay Marketplace
-
AuthorPosts
-
-
February 14, 2022 at 2:09 PM #134399AKParticipant
After filling out the form and submit I get a white page and in the error log, I found this message.
2022-02-14T08:35:10+00:00 CRITICAL Uncaught Error: Call to a member function IsExpired() on bool in /srv/www/myroaster.de/wp-content/plugins/wcmp-mangopay-marketplace/lib/sdk/MangoPay/Libraries/AuthorizationTokenManager.php:32
Stack trace:
#0 /srv/www/myroaster.de/wp-content/plugins/wcmp-mangopay-marketplace/lib/sdk/MangoPay/Libraries/AuthenticationHelper.php(83): MangoPay\Libraries\AuthorizationTokenManager->GetToken()
#1 /srv/www/myroaster.de/wp-content/plugins/wcmp-mangopay-marketplace/lib/sdk/MangoPay/Libraries/AuthenticationHelper.php(27): MangoPay\Libraries\AuthenticationHelper->GetHttpHeaderStrong()
#2 /srv/www/myroaster.de/wp-content/plugins/wcmp-mangopay-marketplace/lib/sdk/MangoPay/Libraries/RestTool.php(293): MangoPay\Libraries\AuthenticationHelper->GetHttpHeaderKey()
#3 /srv/www/myroaster.de/wp-content/plugins/wcmp-mangopay-marketplace/lib/sdk/MangoPay/Libraries/RestTool.php(202): MangoPay\Libraries\RestTool->GetHttpHeaders()
#4 /srv/www/myroaster.de/wp-content/plugins/wcmp-mangopay-marketplace/lib/sdk/MangoPay/Libraries/RestTool.p in /srv/www/myroaster.de/wp-content/plugins/wcmp-mangopay-marketplace/lib/sdk/MangoPay/Libraries/AuthorizationTokenManager.php in Zeile 32 -
February 14, 2022 at 8:50 PM #134422Raju The Cool GuyKeymaster
Hi,
This is directly coming from the MANGOPAY API library, which we have used from their GitHub library. Nothing from our custom code. Then it might be your API key or settings-related issue. Please check again with default settings.
Thanks -
February 15, 2022 at 8:38 PM #134449AKParticipant
Hi,
thank you for your response.
That’s right, it is not your custom code. But you are using an old version of the SDK.As you can see the new version check if token is false
https://github.com/Mangopay/mangopay2-php-sdk/blob/master/MangoPay/Libraries/AuthorizationTokenManager.php#L33This check is missing in the old version of the SDK.
I test it with the new version, and it works!
Can you please update your plugin with the new version of the SDK and published it? Maybe there are some other fixes…
Thank you. Best regards
-
February 16, 2022 at 8:53 PM #134520Raju The Cool GuyKeymaster
Hi,
Thanks for informing us.
We will add this in our next update.
Thanks -
September 28, 2022 at 12:50 PM #142356NerdySupportExpert MoumitaKeymaster
AK, just to keep you posted we are updating whole Mangopay flow in our MultiVendorPro.
-
-
AuthorPosts
The topic ‘CRITICAL Uncaught Error – Create Mangopay Connect account in Vendor dashboard’ is closed to new replies.