Support » Plugin: PayPal for WooCommerce » ERROR FROM PAYPAL CAUSED BY PLUGIN

  • Hi there,

    I’m receiving this error from PayPal on a blank white screen, when using Express Checkout with WooCommerce 3.0.2:

    Warning: Missing argument 1 for WC_Checkout::create_order(), called in /homepages/11/d503734590/htdocs/aloe_new/wp-content/plugins/paypal-for-woocommerce/classes/wc-gateway-paypal-express-angelleye.php on line 1200 and defined in /homepages/11/d503734590/htdocs/aloe_new/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 262

    Warning: Invalid argument supplied for foreach() in /homepages/11/d503734590/htdocs/aloe_new/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 289

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/11/d503734590/htdocs/aloe_new/wp-content/plugins/woocommerce/includes/class-wc-checkout.php:262) in /homepages/11/d503734590/htdocs/aloe_new/wp-includes/pluggable.php on line 1179

    Site is

    Can you help please (and is an update on the way to fix anything?


Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor angelleye


    Our current release is not compatible with WooCommerce 3.0, which has made many big changes in their underlying structure of how the plugin works with WordPress. We are working hard on our 1.4.0 release to ensure full compatibility, and we plan to have it released within a week or so. Until then you would need to revert back to WooCommerce 2.6.14 in order to use our plugin.

    Thread Starter Stevo


    (Re-sent below:)

    • This reply was modified 5 years, 5 months ago by Stevo.
    Thread Starter Stevo


    Hello there,

    Am sure you’re busy with this, but I need to ask: is there any update yet regarding a compatibility upgrade for the PAYPAL FOR WOOCOMMERCE plugin yet?

    Many thanks,

    Plugin Contributor angelleyesupport


    Hi Stevo,

    As already told by Andrew, Our current release is not compatible with WooCommerce 3.0+. We are working to get an update released to resolve this issue as quickly as possible, but it’s probably going to be another week or two.

    Your options at this point would be to revert back to WooCommerce 2.6.14 and continue using PayPal Plus that way. Then you could update both once you see our update released. Or you could leave WooCommerce 3.0 installed and use PayPal Standard until you see our update released, at which point you could re-activate it.

    Keep your eye on updates in your dashboard for updates,
    Thanks for your patience.
    ~Oliver | angelleye Support

    Thread Starter Stevo


    Thanks Oliver – appreciated.

    I note that WooCommerce just had an update tonight to 3.0.4, with one of the fix s being:

    Fix – Fixed backwards compatibility of guest checkout rules when being altered by plugins directly.

    Could that affect your plugin positively …possibly?

    Stevo 🙂

    Also interested about Stevo’s Question above.

    I am now running Paypal Standard but it’s a worse experience for my customers. Only realized that the plugin was broken by accident, after having lost quite a few orders that had paid on Paypal only to be rejected when they clicked Place order on the redirect back to my page.

    Reverting to an older WC version is not an option for most I suppose, as themes and plugins have also updated accordingly.

    Hope for a solution soon.

    EDIT: Can a dev please tell us if this fix suggested by another member would address the issue I’m having?
    [Fatal error: Call to undefined method WC_Customer::get_address() in /home/user/site/wp-content/plugins/paypal-for-woocommerce/template/paypal-review-order.php on line 105]

    paypal-for-wocommerce / temaplte / paypal-review-order.php

    Line 102

    Change to this:

    $billing_address = array(
    ‘first_name’ => WC()->customer->firstname. ‘ ‘. WC()->customer->lastname,
    ‘company’ => WC()->customer->company,
    ‘address_1’ => WC()->customer->get_billing_address(),
    ‘address_2’ => WC()->customer->get_billing_address_2(),
    ‘city’ => WC()->customer->get_billing_city(),
    ‘state’ => WC()->customer->get_billing_state(),
    ‘postcode’ => WC()->customer->get_billing_postcode(),
    ‘country’ => WC()->customer->get_billing_country()
    ) ;

    • This reply was modified 5 years, 5 months ago by aris747.
    • This reply was modified 5 years, 5 months ago by aris747.
    Plugin Contributor angelleye


    It’s tough to say without testing, but even if that fixes one issue you’ll likely run into others.

    Most other themes/plugins that are updated for 3.0 compatibility should be backwards compatible with 2.6. Our plugin, for example, will work on both once we get our update released.

    We’re just a bit behind schedule. We thought we’d get it released by tomorrow, but now it’s looking like we’ll need the weekend to finalize some things and hopefully will have it ready by Monday or Tuesday at the latest.

    Thread Starter Stevo


    Another week has gone by, and would prefer to update WooCommerce ASAP.
    Is there any light at the end of the tunnel as yet?

    Kind regards,

    Plugin Contributor angelleye


    Yes, we are ALMOST there. You can see on GitHub the 1.4.0 list only has 4 items on it, and they’re all “ready for review”. I discovered a few small things that needed to be adjusted while testing those last items, so we’ve those adjustments and now I’m reviewing/testing again. Should be merging these last 4 things and officially releasing this thing over the weekend.

    Thread Starter Stevo


    Thank you – very much appreciated!

    Best of luck with it…
    Stevo 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘ERROR FROM PAYPAL CAUSED BY PLUGIN’ is closed to new replies.