Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1268204

    Hi

    PayPal Smart Buttons are not rendering, same problem as #1260345

    The smart button work on other themes, can you provide assistance?

    Failed to load resource: the server responded with a status of 400 ()
    (index):528 Uncaught ReferenceError: paypal is not defined
    at initPayPalButton ((index):528)
    at (index):600

    #1268848

    Hey mrpetreli,

    You might want to check with the plugin authors since this is not the theme’s function and the error is not with the theme. Plugins’ authors should be able to help you better.

    Best regards,
    Victoria

    #1268852

    The code is copied directly from PayPal no plugin is used

    #1268874

    Hi mrpetreli,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1268879

    Sure see below

    #1269092

    Hi the buttons are appearing now. Not sure what you did, but all seems fine now

    #1269099

    It seems, when you copy code from PayPal it works fine. But if you make any changes to the page after the code is added it breaks, even in different sections of the page.

    Unless you can give a solution, a fix is to add the paypal code as the very last thing you do

    #1269422

    Hi,

    Thank you for the update.

    Could you provide a sample of the snippet from Paypal? How do you register the script? We tried to login to the site but the account above seems to be invalid. Please check the info carefully or provide another admin account.

    Best regards,
    Ismael

    #1269735

    Hi, a copy of the code used is attached, you need to add your own client code or you can create a Smart Button on PayPal here: https://www.paypal.com/buttons/smart

    Once the button is created, copy the code into a code block element an save. The payment buttons will appear on the live page, but if you make changes to the ppage after that the buttons will disappear. I think this is more an issue with PayPals code now.

    I disabled the login for you guys, as its not an issue with your theme. But thank you for the assistance

    #1269844

    Hi,

    Thank you for the info.

    The snippet breaks the layout of the builder because it contains form fields or input tags. You may need to create a custom shortcode for the snippet so that the input fields do not have to be inserted directly in the code block element.

    // https://codex.wordpress.org/Shortcode_API

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.