Support » Plugin: WordPress Simple PayPal Shopping Cart » Paypal Cart submit conflict

  • The PayPal checkout button is named “submit”, so the call to submit when the quantity is changed is not working correctly, giving the error:

    Uncaught TypeError: document.pcquantity.submit is not a function
    at HTMLInputElement.onchange

    Assuming there are no references to the PayPal button’s “submit” name, this can be fixed easily by changing the name to something else e.g. btnSubmit

    Can this be corrected in the plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, please check the following documentation. Is this what you did to customize the checkout button?

    Regards

    The image I am using for the cart is fine. This is not the problem.

    This is to do with the PayPal checkout button being named “submit”.

    When the call to submit when the quantity is changed is not working correctly, giving the error:

    Uncaught TypeError: document.pcquantity.submit is not a function
    at HTMLInputElement.onchange

    Assuming there are no references to the PayPal button’s “submit” name, this can be fixed easily by changing the name to something else e.g. btnSubmit

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, can you carry out the following test. Disable all other plugins except ours. Then carry out a test. Let me know what happens.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Paypal Cart submit conflict’ is closed to new replies.