• Resolved PGrizz

    (@pgrizz)


    My WordPress site only has the Proceed to PayPal option when a user goes to checkout after adding digital items into their Woocommerce cart.

    When they click this option and are taken to PayPal.com/webapps/hermes?token=XXX&useraction=commit&rm=2&wpsFlowRedirectToXorouterSkipHermesStartTime=XXX&flowType=WPS&mfid=XXX where there’s an option under the sign-in that says “Cancel and Return” to the site.

    If the user signs in and pays, everything works and the payment goes through. However, if the user doesn’t sign-in to PayPal, doesn’t put their payment info in, then clicks that “Cancel and Return” option they are brought back to my website with this string added to the end of the URL?mysite.com/cart/?cancel_order=true&order=wc_order_XXX&order_id=XXX&redirect&_wpnonce=XXX

    The problem is as soon as they return to my website after clicking the “Cancel” option the digital item is added to their account despite them not actually paying for it and the item still being in their cart.

    When reviewing the transaction in Woocommerce’s logs it correctly shows the status of the order as Cancelled.

    How can I ensure that the digital item is not added to the user’s account when the order is Cancelled or Pending?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello PGrizz

    Thank you for contacting Woo support.

    To diagnose this problem, I’d like to review your site’s System Status Report.
    This will tell me how is your site set up and help me understand what is causing this issue.

    You can find it via WooCommerce > Status.
    Select Get system report and then Copy for support.
    Once you’ve done that, you can paste the text in https://gist.github.com
    After that, you can paste the Gist link here in your reply.

    Looking forward to your response. ??

    Best regards.

    Thread Starter PGrizz

    (@pgrizz)

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @pgrizz,

    Thank you for sharing your SSR. As a first step, I can see your WordPress and WooCommerce versions are out of date, really outdated for a while, even. Could you please try running all pending updates and seeing if that fixes it? You can take a full?backup?of your site before doing that or try the updates on a?staging?site to make sure nothing breaks while doing so.

    If the issue persists I’d suggest checking out with your theme developers as I see the theme you’re using also overrides a few key templates for the checkout process. I’m not sure if you’re using a custom theme, I wasn’t able to find any information about it and the theme’s author URL is giving me a timeout.

    If you’re unable to reach out to the developers of the theme I’d suggest at least revising the theme’s templates that are overriden (learn more here), you may want to hire a developer for this if necessary. Otherwise, please try with a default theme like Storefront or Twenty Twenty-Four to see if the issue persists.

    Please let us know the results of your tests.
    -OP

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there ?? ,

    We haven’t heard from you in a while; this is to check if you’ve been able to proceed with the troubleshooting steps provided before and if you still need help.

    Thanks!
    -OP

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP Site Selling Users Digital Items After They Cancel the Order on Paypal’ is closed to new replies.