Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor angelleye

    (@angelleye)

    That URL is not what our plugin would output. Our plugin uses https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif
    which is still loading fine.

    I haven’t had any other reports of this, and it’s not happening on my test sites, so it seems there must be something unique going on there.

    Are you sure that button that you’re looking at is getting output by our plugin?

    Plugin Contributor angelleye

    (@angelleye)

    Actually, it could have something to do with your locale code set in WordPress, which is used to build that URL dynamically.

    It looks like your URL is missing the _US part in the middle. You just have “en” when that should be “en_US” and the _US part comes from the locale code set in your WordPress site.

    Seems you must not have a value set, so it’s simply not outputting any locale code as pat of that URL, which is why your URL is incorrect and generates the 404.

    Thread Starter AndyUSSDU

    (@andyussdu)

    Hi

    We are based in Australia so perhaps that has something to do with it?

    How do I check/update my locale code?

    Plugin Contributor angelleye

    (@angelleye)

    In WordPress Settings -> General, at the bottom is an option for Site Language. Do you have that set?

    Please check that, and also look at setting your language in the WordPress config file: https://codex.www.ads-software.com/Installing_WordPress_in_Your_Language

    Thread Starter AndyUSSDU

    (@andyussdu)

    We have the default US language and define(‘WPLANG’, ”); setting

    Plugin Contributor angelleye

    (@angelleye)

    Ok, I think that’s the problem. WPLANG is defined, but the value is empty. Please either comment that line out entirely, or go ahead and set it to en_US.

    Thread Starter AndyUSSDU

    (@andyussdu)

    Commenting it out worked. Hopefully does mot cause any other issues with the rest of the site. Thanks

    Plugin Contributor angelleye

    (@angelleye)

    It shouldn’t. Everything should fall to your setting in the admin panel now. WPLANG was overriding that, but the value was empty.

    I think you’re good to go!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Missing Paypal Express Button In Checkout’ is closed to new replies.