Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @barnabas1

    Thank you for contacting Payment Plugins. The issue you’re having with the PayPal button is more than likely related to your site’s CSS. Here is a screenshot showing the PayPal button with a dark background which doesn’t have the overflow issue.

    If you would like your checkout page reviewed please share a product page link.

    Kind Regards,

    Thread Starter barnabas1

    (@barnabas1)

    Hello @mrclayton,

    Thank you for offering to examine the page. This is the page here . You can find the paypal button on the cart and express checkout pages.

    Best regards

    Plugin Author Clayton R

    (@mrclayton)

    Hi @barnabas1

    I am encountering a Javascript error on your checkout page which is preventing the PayPal button from rendering. It looks like you’re using a cache which might be the cause of that JS error.

    react-dom.min.js:10 TypeError: Cannot read properties of undefined (reading 'lineItems')

    Once you resolve that error I will take another look.

    Kind Regards

    Thread Starter barnabas1

    (@barnabas1)

    Hello @mrclayton,

    I just saw the error in Incognito window… Thanks for letting me know. As far as I can see the Paypal button is loading on the basket page fine in incognito. Can you check it there?

    Plugin Author Clayton R

    (@mrclayton)

    Hi @barnabas1

    I was able to see the button using incognito. I did not observer an overflow issue with PayPal when I changed the background color to black. Here is a screenshot of my test:

    Kind Regards,

    Thread Starter barnabas1

    (@barnabas1)

    I rolled back the Stripe by Payment Plugins from v3.3.97 to v3.3.96 and all express buttons are loading fine now on checkout while in incognito window.

    I’m using Chrome on Windows when testing this.

    Plugin Author Clayton R

    (@mrclayton)

    I rolled back the Stripe by Payment Plugins from v3.3.97 to v3.3.96 and all express buttons are loading fine now

    Yes, that is why I believe that error is cache related. You appear to be using a cache on your site and version 3.3.97 uses some different variable names. Your cached scripts need to be purged.

    Kind Regards

    Thread Starter barnabas1

    (@barnabas1)

    I had the litespeed cache cleared but forgot to clear the js minified files from Perfmatters. It’s working ok now v3.3.7. My bad.

    About the Paypal button overflow I just realised that the overflow occurs only while the intial load of the page the background is set to dark mode. See this short recording

    Any ideas why it’s happening?

    Kind regards,

    Barnabas

    Plugin Author Clayton R

    (@mrclayton)

    Hi @barnabas1

    Thank you for providing the recording. The following CSS should resolve your border radius issue:

    #express-payment-method-paymentplugins_ppcp_express .paypal-buttons iframe{
    border-radius: 4px;
    }

    Kind Regards

    Thread Starter barnabas1

    (@barnabas1)

    Hello @mrclayton,

    Thank you greatly for the help, this css solved the issue.

    Kind regards,

    Barnabas

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

You must be logged in to reply to this topic.