Mangopay WC Vendors – Fatal Error
-
Hi, I am setting up a UK marketplace.
I am using latest version of Woocommerce + WC Vendors and have installed Mangopay in Sandbox mode.
These are the only 3 plugins active and no extra plugin.
I am using a basic Generatepress theme with no customizations.
I have two issues:
1) On the WC Vendors vendor settings page where the vendors provide their bank data, the following fatal error shows up
Fatal error: Uncaught MangoPay\Libraries\Exception: Unexpected response. Missing PersonType property in /home/urbanart/public_html/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/ApiUsers.php:299 Stack trace: #0 /home/urbanart/public_html/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/ApiUsers.php(61): MangoPay\ApiUsers->GetUserResponse(Array) #1 /home/urbanart/public_html/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php(1822): MangoPay\ApiUsers->Get(”) #2 /home/urbanart/public_html/wp-content/plugins/mangopay-woocommerce/inc/main.inc.php(477): mpAccess->get_mp_user(”) #3 /home/urbanart/public_html/wp-content/plugins/mangopay-woocommerce/inc/main.inc.php(420): mangopayWCMain->kyc_doc_upload_form_func(Array) #4 /home/urbanart/public_html/wp-includes/class-wp-hook.php(286): mangopayWCMain->kyc_doc_upload_form_doaction(‘settings.php’, ‘wc-vendors/dash…’, ‘/home/urbanart/…’, Array) #5 /home/urbanart/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #6 /home/urbanart in /home/urbanart/public_html/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/ApiUsers.php on line 299
2) Once users registers on my-account page, they don’t get any success message but they see a blank screen that looks like page has crashed with following error – Error: MANGOPAY API returned: «Bad request. One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.»
I believe the user has no place to enter bank details during registration – so why the error here?
Any help will be highly appreciated
- The topic ‘Mangopay WC Vendors – Fatal Error’ is closed to new replies.