• Resolved justracer

    (@justracer)


    Hello again,

    I offer 0€ products as a free test. Since using PayPal Payments, there is always a Checkout error, which looks like one of the billing address fields must be wrong, but the entered email is correct.

    The stacktrace:

    2022-11-04T18:34:20+00:00 CRITICAL Uncaught TypeError: Argument 4 passed to WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\{closure}() must be an instance of WC_Email, bool given, called in /home/matthia5/createbeyond.de/wp-includes/class-wp-hook.php on line 307 and defined in /home/matthia5/createbeyond.de/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php:286
    Stack trace:
    #0 /home/matthia5/createbeyond.de/wp-includes/class-wp-hook.php(307): WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice->WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\{closure}(Object(Automattic\WooCommerce\Admin\Overrides\Order), false, false, false)
    #1 /home/matthia5/createbeyond.de/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #2 /home/matthia5/createbeyond.de/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #3 /home/matthia5/createbeyond.de/wp-cont in /home/matthia5/createbeyond.de/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php in Zeile 286

    You can test it via this link: https://createbeyond.de/cart/?add-to-cart=94883&variation_id=94894

    I also cannot switch to Storefront for testing, because this removes CUSTOM CSS and some more settings.

    Thank you in advance.

    Best
    Matthias

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter justracer

    (@justracer)

    Some more information:

    – “Pay Upon Invoice” is disabled in the Woocommerce -> PayPal Payments -> Pay Upon Invoice Settings
    – I just disabled PayPal Payments and activated the old PayPal Plus -> works like a charme.

    What’s the problem here with PayPal Payments?

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @justracer,

    I assume this error to be caused by the German Market plugin.
    PayPal Payments officially supports, and is tested with, the Germanized plugin. But we haven’t performed any dedicated tests with German Market.

    We are aware of a different type check conflict with this plugin and are addressing it in one of the next updates.
    This error you report is not exactly the same, but quite similar, so I suggest giving it a try with the German Market plugin disabled to see if this makes a difference.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter justracer

    (@justracer)

    Hi Niklas,

    Thank you for your reply.

    I just discovered, that all my duplicated orders really came from this 0€-Order Bug. When placing a 0€-order, there will be an empty WooCommerce error and the users stay on the checkout page. But WooCommerce still creates the order.

    I am currently not able to check, if it’s a German Market error, because I only have the Live System running and it would loose connection to Lexoffice.

    I got in contact with the German PayPal Support today and they are also aware of the problem now. I really hope there will be a fix for the German Market compatibility from your side soon. Hope the PP Support and maybe you too, are able to update me on this.

    Thank you very much.

    Best
    Matthias

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @justracer,

    We made a bunch of tests but 0€ orders are not causing any problems in our testing environments.
    But we currently don’t have a copy of the German Market plugin. So if you find that disabling it makes a difference, could you please send us a message with a copy of the plugin? We’d be happy to take a deeper look. You can send us a private message from here: https://paypal.inpsyde.com/docs/request-support/
    Please include a link to this thread when sending a private message.
    Thanks!

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi Matthias,

    The originally reported error should be resolved in the latest update 2.0.1. So I suggest giving it a try with this version.
    Since ave not heard back from you in a while, I’m marking this thread as resolved.
    Hopefully, the information we provided helped you out.
    If you have any further questions, please feel free to reopen this topic, create a new one, or get back via mail.
    Thanks!

    Kind regards,
    Niklas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘0€ orders not possible’ is closed to new replies.