• Resolved LoremIpsum

    (@skilldesign)


    We are currently experiencing an issue with the WooCommerce PayPal Payments plugin on our website. When the plugin is active, variable products do not load properly — the variation options are stuck in an infinite loading state and never appear.

    I have this error in console :

    paypal-subscription.js:90 Uncaught TypeError: Cannot set properties of null (setting ‘disabled’)
    at t (paypal-subscription.js:90:21)
    at HTMLInputElement. (paypal-subscription.js:120:13)
    at HTMLInputElement.dispatch (load-scripts.php?c=0&load%5Bchunk_0%5D=wp-hooks,jquery-core,jquery-migrate,utils,wp-dom-ready&ver=6.8:4:40035)
    at v.handle (load-scripts.php?c=0&load%5Bchunk_0%5D=wp-hooks,jquery-core,jquery-migrate,utils,wp-dom-ready&ver=6.8:4:38006)
    at Object.trigger (load-scripts.php?c=0&load%5Bchunk_0%5D=wp-hooks,jquery-core,jquery-migrate,utils,wp-dom-ready&ver=6.8:4:70124)
    at HTMLInputElement. (load-scripts.php?c=0&load%5Bchunk_0%5D=wp-hooks,jquery-core,jquery-migrate,utils,wp-dom-ready&ver=6.8:4:70726)
    at ce.each (load-scripts.php?c=0&load%5Bchunk_0%5D=wp-hooks,jquery-core,jquery-migrate,utils,wp-dom-ready&ver=6.8:4:3129)
    at e..each (load-scripts.php?c=0&load%5Bchunk_0%5D=wp-hooks,jquery-core,jquery-migrate,utils,wp-dom-ready&ver=6.8:4:1594)
    at e..trigger (load-scripts.php?c=0&load%5Bchunk_0%5D=wp-hooks,jquery-core,jquery-migrate,utils,wp-dom-ready&ver=6.8:4:70701)
    at e (paypal-subscription.js:123:50)

    As soon as we deactivate the plugin, the variations become accessible again and everything works as expected.

    It seems there is a compatibility issue between WooCommerce and the PayPal Payments plugin, specifically related to variable products.

    Would it be possible to get some help or guidance on how to resolve this?

    Thank you in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Femi

    (@femiyb)

    Hello @skilldesign

    I was not able to reproduce this issue as you have described.

    Could you please explain the steps to reproduce it?
    Could you also share a link to your site where we could test for this issue?
    Thanks.

    Regards,
    Femi.

    Thread Starter LoremIpsum

    (@skilldesign)

    Thank you for your reply.

    The issue occurs specifically in the back office, when editing a variable product.

    Here are the steps to reproduce it:

    Activate the WooCommerce PayPal Payments plugin.

    Go to Products > Edit on a variable product.

    In the “Variations” tab, try to load the variations — the loading icon spins indefinitely and the variations never appear.

    As soon as we deactivate the plugin, the variations load correctly again.

    This seems to be a conflict affecting the admin product editor when dealing with variable products.

    Please let me know if you need a staging access or further information to investigate.

    Plugin Support Femi

    (@femiyb)

    Hello @skilldesign

    Thank you. We’ve been able to reproduce the problem on our end as well, including with the old UI and no other plugins active. The root of the issue seems to be a missing check in the paypal-subscription.js file, which can result in a TypeError when the expected button element is not present.

    An internal issue has already been created to track this, and our developers are currently reviewing it.

    In the meantime, as a temporary workaround, we recommend downgrading the plugin to version 3.0.0

    If you are not using Subscriptions, you could also switch or turn off the Subscriptions option.

    Let us know if you need assistance with the downgrade or if anything else comes up.

    Regards,
    Femi.

    Thread Starter LoremIpsum

    (@skilldesign)

    Thanks for your help.

    I will try to downgrade the version.

    Regards,

    Brice

    Thread Starter LoremIpsum

    (@skilldesign)

    Hello Femi,

    Thank you for your support.

    I can confirm that everything is now working correctly with version 3.0.0 of the WooCommerce PayPal Payments plugin. The variations are loading properly again in the product edit screen.

    Thanks again for your help!

    Best regards,

    Plugin Support Syde Jamie

    (@jamieong)

    Hi @skilldesign ,

    We are glad that downgrading works for you. However we have prepared a fixing package that should address the issue you’ve reported. You can download it from this link and install it in your environment.

    This fix is planned to be included in an upcoming official update, but you can test it to confirm if it resolves things on your side.

    Let me know how it goes once you’ve had a chance to try it.

    Best Regards,
    Jamie

    Thread Starter LoremIpsum

    (@skilldesign)

    Hi,

    I’ve updated the plugin with your latest version, and it works perfectly.

    Thanks again for your help!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Impossible to load variation’ is closed to new replies.