• Resolved dzunker22

    (@dzunker22)


    I am getting intermittent issues with this plugin. I am still testing due to the unreliable results thus far. I have put the short code on a test page. When I click on the payment button one of three things occur:

    1. I get a message that “This site says… logoUrl (https://xxx) failed to load.
    I can acknowledge this error, and proceed. This happens only some on the time. And sometimes I can still complete the transaction successfully.

    2. Whether the logo loads or not, the payment form seems to works OK, but i intermittently get the Invalid Item Price error when I get to the Checkout result page. The transaction does not go through in this scenario.

    3. Sometimes the plugin works like it should.

    Out of 16 tries, I have 5 successful transactions.

    Here is the shortcode I am using. I have tried with and without the logo url.

    [accept_stripe_payment name=”Real Estate” price=”374.99″ item_logo=”https://xxx.png” button_text=”Pay Now” billing_address=”1″ shipping_address=”1″ url=”https://xxxx”%5D

    I keep thinking there is something simple, but I cannot reproduce this issue consistently.

    I do use W3TC and Autoptimize, but have not tried to remove these as yet. I cannot even get a consistent broken result at this time.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, can you try the following.

    Can you exclude the page with Stripe payment buttons from being cached by W3TC and also from Autoptimize?

    Hi.

    Same error here :(…

    I’ve got an “Invalid item price” error each time.
    For my part I’ve updated the Stripe API to the lastest release (2017-02-14). Could it explain the error?
    I’ve deactivated Autoptimize AND my Cache plugin (Comet Cache) but still have the same problem.

    TIA.

    Amicably,

    Pierre.

    Plugin Author mra13

    (@mra13)

    This can only happen if there is a caching type issue. Make sure you emptied the cache. If you have existing cached pages then the site might still be serving cached pages even though the plugin is deactivated.

    fyi; you can disable autoptimize on a per-page basis (e.g. for your.url/checkout/) with this code snippet;

    add_filter('autoptimize_filter_noptimize','noptimize_checkout',10,0);
    function noptimize_checkout() {
    	if (strpos($_SERVER['REQUEST_URI'],'checkout')!==false) {
    		return true;
    	} else {
    		return false;
    	}
    }

    but if there’s a problem even if AO is disabled, then using this snippet will not fix things obviously ..

    frank (ao dev)

    Ok. Thanks for the tips Franck ;).
    All is ok for me now. I’ve just forgot to add the currency in my shortcode :)…

    Anyway, thanks for the wick support.

    Amicably,

    Pierre

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Invalid Item Price error or logoUrl failed to load’ is closed to new replies.