• mrprainx

    (@mrprainx)


    Hello. The last update was supposed to fix the bug of the Donate button giving an error when clicked and when PayPal Donations is selected.

    In my case, it doesn’t. When PayPal is selected and I click on “Donate”, the error
    Cannot read properties of undefined (reading 'cardFields')
    persists.

    I’ve cleared every cache known to man. This happens with different browsers and in incognito mode. And I’m experiencing this on two different sites, on two different servers with two different hosting companies.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Robin Joshua Del Mundo

    (@robindelmundo)

    Hi @mrprainx ,

    Glad you reached out! Happy to help with this one.

    Yes, we were still getting reports of the Donate Now button appearing on Multistep and Two Panel forms. You can view the report in here — https://feedback.givewp.com/bug-reports/p/the-donate-now-button-doesnt-disappear-for-when-paypal-donations-is-selected-in.

    You can use this workaround for now to hide the Donate Now button if the donor is using one of the PayPal buttons on your form:

    section.givewp-layouts.givewp-layouts-section:has(li.givewp-fields-gateways__gateway--paypal-commerce.givewp-fields-gateways__gateway--active)~button {
    display: none !important;
    }

    Here is a screenshot of where you would add this on any visual form:

    Please let me know if that works out for you!

    Meanwhile, I’m here if you have further questions or other concerns.

    I’m always happy to help!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.