• Resolved userallegiant

    (@userallegiant)


    I am using PayPal plus gateway plugin in the Woocomerce site. As I see all my fields are correctly filled but I am getting this “Order cannot be updated, payment ID is invalid.” Error. Can you please help me with this problem, please.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same Problem was reported by me. From the support was turn of caching and all other plugins and use Theme Storefront on a runnig productive system no sutible idea in my opinion.

    By further debugging I found out that all Browser print warning/errors

    In firefox 75.0:
    Content Security Policy: “‘unsafe-inline’” wird innerhalb von script-src oder style-src ignoriert: nonce-source oder hash-source angegeben

    Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert (“script-src”).

    In chrome the following warning is produced:
    A cookie associated with a cross-site resource at https://google.com/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

    in Edge
    “unsafe-inline” für die Direktive “script-src” in Content-Security-Policy wird ignoriert, weil ein Nonce- oder Hashwert angegeben wurde.

    In my opion the IFrame set invalid attributs/cookies and the scripts( mostly the generate new paypal id) stop working.
    After some time(>3 hours) a new Id would be automaticaly generatet and all is okey again. Untill the a second user will have an new ID in the time limit.

    Thread Starter userallegiant

    (@userallegiant)

    But I am facing issue only with this plugin

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @userallegiant @collieit

    all will be saved in the sessions of WooCommerce. So if you are using a caching system for your cart and checkout page it might happen two users get the same session id because the cache saved it. And here comes to that point the second user will get an error with invalid payment ID because this was already used by the first user.

    Please make sure the cart and the checkout page will not be cached.

    Thread Starter userallegiant

    (@userallegiant)

    @aweissinpsyde Can you help me how to clear the session id which is stored

    Thread Starter userallegiant

    (@userallegiant)

    Can you help me how to clear the session id which is stored

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @userallegiant

    please you have to take a look at the WooCommerce tools that can be found under Woocommerce > Status > Tools. There is a function called sessions reset. Click it, please. Aso delete the cache of your webpage

    Regards
    Andreas

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error: Order cannot be updated, payment ID is invalid.’ is closed to new replies.