Theme and Plugin Support
-
AuthorPosts
-
-
June 14, 2021 at 3:45 PM #122942AlvaroSouzaParticipant
Hi I’m from Brazil and I use WCMP
Any payment method other than paypal, woocommerce shows empty error after clicking “checkout”.
(wc-ajax-checkou: 1)Website link: https: //ecocommerce.com.br/
Link to payment plugins showing this error:
https://br.wordpress.org/plugins/woocommerce-pagseguro/
https://wordpress.org/plugins/pix-por-piggly/
https://br.wordpress.org/plugins/woocommerce-pagarme/WP support problem link: https: //br.wordpress.org/support/topic/erro-pagamento-woocommerce/#post-12173286
Things I’ve done:
-I disabled all plugins and themes
-debug wordpressthe error is actually in wcmp.
-The purchase works and arrives for me, but it shows the error to the customer!!! -
June 14, 2021 at 7:51 PM #123110NerdySupportExpert MoumitaKeymaster
Hi @AlvaroSouza, sorry to hear that you have faced this issue.
Generally, WC Marketplace doesn’t control payment flow from the checkout page. As you are facing this issue, can you create a video of the issue so we can help you out.
-
June 15, 2021 at 6:49 AM #123124
-
June 15, 2021 at 11:28 AM #123129NerdySupportExpert MoumitaKeymaster
@AlvaroSouza, thanks for the video. But can you please explain the two things flor me :
– When you are getting this error, please check whether there is any order created from woocommerce. For that goto WooCommerce >> Order.
– Create a product from admin end and purchase that one. Let us know the result with the checkout. -
June 15, 2021 at 4:37 PM #123144AlvaroSouzaParticipant
“When you are getting this error, please check whether there is any order created from woocommerce. For that goto WooCommerce >> Order”
-Yes,sure,comes to me both in woocommerce and on the vendor wcmp panel:
https://drive.google.com/file/d/1-7QOAQa01c3s65xOkxc5D9Q_lELnpBGY/view?usp=sharing“Create a product from admin end and purchase that one. Let us know the result with the checkout.”:
-OK, I did this and it works, there is only one error when buying from a wcmp vendor:
https://drive.google.com/file/d/1EyI8_Gs2tRZawqme-V_nXQTJWxBBQ4Uu/view?usp=sharing -
June 15, 2021 at 5:43 PM #123158NerdySupportExpert MoumitaKeymaster
@AlvaroSouza, the reason vendor is seeing the order because WooCommerce has created the order.
Now, in order to resolve this, we need help with the payment gateway plugin, because the whole process is getting carried out by them. Can you please send them an email keeping our email id in the loop: contact@wc-marketplce.com
-
June 15, 2021 at 6:34 PM #123162AlvaroSouzaParticipant
I didn’t quite understand. Should I contact the creators of the gateway plugins I use and pass this contact on, or do you want me to send the gateways link here?
-
June 15, 2021 at 11:37 PM #123187AlvaroSouzaParticipant
This is my WP-DEBUG LOG
[15-Jun-2021 18:00:16 UTC] The WC_Order_Item_Product::offsetSet function is deprecated since version 4.4.0.
[15-Jun-2021 18:00:16 UTC] The WC_Order_Item_Product::offsetSet function is deprecated since version 4.4.0.
[15-Jun-2021 18:00:18 UTC] payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Pix_Gateway->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_on-hold’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array(‘woocommerce_order_status_pending_to_on-hold_notification’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_Customer_On_Hold_Order->trigger, WC_Email->get_content, WC_Email_Customer_On_Hold_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/woocommerce/templates/emails/customer-on-hold-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/plugins/woocommerce/templates/emails/email-order-details.php’), do_action(‘woocommerce_email_after_order_table’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Pagarme_Banking_Ticket_Gateway->email_instructions, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
[15-Jun-2021 18:00:18 UTC] payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Pix_Gateway->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_on-hold’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array(‘woocommerce_order_status_pending_to_on-hold_notification’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_Customer_On_Hold_Order->trigger, WC_Email->get_content, WC_Email_Customer_On_Hold_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/woocommerce/templates/emails/customer-on-hold-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/plugins/woocommerce/templates/emails/email-order-details.php’), do_action(‘woocommerce_email_after_order_table’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Pagarme_Credit_Card_Gateway->email_instructions, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
[15-Jun-2021 18:00:18 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Pix_Gateway::email_instructions(), 3 passed in /var/www/wp-includes/class-wp-hook.php on line 292 and exactly 4 expected in /var/www/wp-content/plugins/incuca-tech-pix-for-woocommerce/includes/class-wc-pix-gateway.php:413
Stack trace:
#0 /var/www/wp-includes/class-wp-hook.php(292): WC_Pix_Gateway->email_instructions(Object(Automattic\WooCommerce\Admin\Overrides\Order), true, false)
#1 /var/www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 /var/www/wp-content/plugins/dc-woocommerce-multi-vendor/templates/emails/vendor-new-order.php(21): do_action(‘woocommerce_ema…’, Object(Automattic\WooCommerce\Admin\Overrides\Order), true, false)
#4 /var/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/var/www/wp-con…’)
#5 /var/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template(’emails/vendor-n… in /var/www/wp-content/plugins/incuca-tech-pix-for-woocommerce/includes/class-wc-pix-gateway.php on line 413 -
June 16, 2021 at 1:59 AM #123188AlvaroSouzaParticipant
I think I found the error, the code expects 4 parameters and your plugin sends 3, it’s missing to add the $email to the do_action hook.
“::email_instructions(), 3 passed in /var/www/wp-includes/class-wp-hook.php on line 292 and exactly 4 expected”:[15-Jun-2021 19:36:43 UTC] The WC_Order_Item_Product::offsetSet function is deprecated since version 4.4.0.
[15-Jun-2021 19:36:43 UTC] The WC_Order_Item_Product::offsetSet function is deprecated since version 4.4.0.
[15-Jun-2021 19:36:45 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Piggly\WC\Pix\Gateway\PixGateway::email_instructions(), 3 passed in /var/www/wp- includes/class-wp-hook.php on line 292 and exactly 4 expected in /var/www/wp-content/plugins/pix-by-piggly/src/Gateway/PixGateway.php:490
Stack trace:
#0 /var/www/wp-includes/class-wp-hook.php(292): Piggly\WC\Pix\Gateway\PixGateway->email_instructions(Object(Automattic\WooCommerce\Admin\Overrides\Order), true, false)
#1 /var/www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 /var/www/wp-content/plugins/dc-woocommerce-multi-vendor/templates/emails/vendor-new-order.php(21): do_action(‘woocommerce_ema…’, Object(Automattic\WooCommerce \Admin\Overrides\Order), true, false)
#4 /var/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/var/www/wp-con…’)
#5 /var/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template(’emails in /var/www/wp-content/plugins/pix-by-piggly/ src/Gateway/PixGateway.php on line 490 -
June 16, 2021 at 7:57 PM #123258Raju The Cool GuyKeymaster
Hi,
We have replied to you here https://multivendorx.com/support-forum/topic/error-on-wcmp-vendor-new-order/#post-123222
-
-
AuthorPosts
The topic ‘Checkout Payment Error’ is closed to new replies.