Support » Plugin: PayPal Express Checkout Payment Gateway for WooCommerce » How to stop Pending payment

  • Resolved louiseh86

    (@louiseh86)


    Hi,

    When users Check out with PayPal from the basket I get a Pending payment in my Orders when they:

    • Click back from PayPal without doing anything.
    • Close PayPal window without doing anything.
    • Cancel Order when directed back to checkout.

    How can I stop this?

    I would prefer it if the orders were discarded / deleted and not saved in WooCommerce.

    Thanks
    Louise

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author webtoffee

    (@webtoffee)

    Hi @louiseh86,

    Previously we had it that way and based on popular feedback, we have optimized the plugin code such that it will store the incomplete orders as pending payment orders.

    Sorry, but we cannot change it again.

    It makes the plugin useless for me. If the order is not completed, the order status is “payment pending”, but THERE IS NO ORDER!

    What’s the point??? Meanwhile, quantity is removed from the front end…

    Are you telling us that “popular feedback” told you that what they really want to do is going to their admin at the end of the day and remove those “orders” (let me call them that) MANUALLY?

    It’s a shame, because everything else works just fine.

    EDIT: If the client login, he/she will see the order that he/she didndt paid in his account and he/she can pay then. Ok, I understand that. But I made this test: if a client doesn’t login in his account, and doesn’t complete the paypal payment, he gets back to the shopping cart; I had only one unit in stock of that product, so automatically he cannot order the product, and cannot pay his order later because he has no account.

    • This reply was modified 4 months, 1 week ago by virosept.
    • This reply was modified 4 months, 1 week ago by virosept.
    • This reply was modified 4 months, 1 week ago by virosept.
    Plugin Author webtoffee

    (@webtoffee)

    Hi @virosept,

    When placing an order, the plugin creates a pending order first when the user moved to the PayPal page and once he successfully places the order, the same order is marked as processing. This is the default workflow of the plugin and it helps the site owners to track incomplete orders.

    Once the order is created, woocommerce automatically reduced the stock quantity. Unfortunately, this is a woocommerce default workflow and we cannot help with that.

    Users can go to My account > Orders page and pay for the same order. The same order will be marked as complete. Guest users don’t have this option because they don’t have my accounts or my orders’ section.

    Hi @webtoffee. No, that’s not how the Woocommerce Paypal plugin works. I’m testing it now and works just the way it should work, doesn’t subtract stock unless the client pay his order.

    So i tried again your plugin or another with similar behaviour. I was a random user with no intention to waist time creating an account, I put something in the cart (just 1 in stock in the shop), clicked on the Buy Now button but during the process I clicked in the “Cancel and return to shop” link because I wanted to verify the shipping method; when I return to the chechout page, I get the message “sorry, there are no stock available of the product…” I would be really pissed if something like that happens to me in a webshop.

    Is there any way I can chenge the code to avoid subtrating stock if order is not paid? Any shortcode, PHP code,…?

    Thank you for your time.

    By the way, I’m happy with the oficial Woocommerce Paypal plugin, but there is no Buy Now button, that I think is super important to have in a webshop for the convenience for the clients.

    Plugin Author webtoffee

    (@webtoffee)

    Hi @virosept,

    We will analyze both our plugin and Woocommerce native PayPal and see if we can implement a workaround or fix for the issue.

    Plugin Author webtoffee

    (@webtoffee)

    Hi @virosept,

    In the latest version of the plugin, clicking the “Cancel and return to shop” link would mark the order as canceled, therefore restocking the quantity. Please update the plugin to the latest.

    Hello. Your plugin have strange behaviours. I tested again. Everytime someone cancel their Paypal Express payment without login to their PP account, the order is canceled and the stock is availble for other people, and I receive a Canceled Order in my BO, with zero info about the potencial buyer.

    If someone starts the process of paying with your plugin and enter their PP account and their cancel, I get their info and what was the product in the canceled order, but I tested in incognito mode, enter my sandbox paypal account, canceled the purchase and I got an empty canceled order with zero info.

    Plugin Author webtoffee

    (@webtoffee)

    Hi @virosept,

    Did you enter your address anywhere in the site while checking out from the incognito window?

    Hi @webtoffee

    No, I didnt enter my name anywhere, and I didnt finished the payment.

    Plugin Author webtoffee

    (@webtoffee)

    Hi @virosept,

    As you do not enter the address while proceeding to the PayPal page from the incognito window, the address won’t be available. Only the pending order will be created with the available info which is only the order item in the cart.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.