• Resolved Steve D.

    (@sdowney2002)


    This may be a random glitch, but I’ve discovered that if I don’t have “Smart Buttons” enabled (PP login opens in new full-screen window) AND the user cancels the transaction (by clicking the “cancel and return..” link on the PP page), the order is recorded by woo with a “payment pending” status.

    When I enable Smart Buttons, a user-cancelled transaction is not recorded – the way it should be.

    Very odd.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @sdowney2002,

    if I don’t have “Smart Buttons” enabled (PP login opens in new full-screen window) AND the user cancels the transaction (by clicking the “cancel and return..” link on the PP page), the order is recorded by woo with a “payment pending” status.

    When I enable Smart Buttons, a user-cancelled transaction is not recorded – the way it should be.

    That is interesting – so the user is not putting in their credit card information/not completing the order at all, and WooCommerce is creating an order in the back end with Payment Pending? Does this happen with any other gateway you have? Please let us know a bit more detail ??

    Hey nixiack8,

    That is correct. A “Pending” order is created when the user selects PayPal Checkout as the payment method, and clicks “Continue to Payment”, which redirects the user to the PayPal login page. This occurs even if the user cancels the transaction before logging into PayPal.

    Again, this only happens when Smart Buttons are not enabled.

    Two new pieces of info:
    * This happens ONLY if I’ve set PayPal Checkout’s “Landing Page” setting to “Login”. This problem doesn’t occur if it’s set to “Billing”.

    * After the customer cancels the transaction and returns to the cart, if they go through PayPal Checkout AGAIN and cancel a SECOND time, no additional Pending orders are generated. If the customer clears their browser cache and starts over again from scratch, cancelling the transaction from the PayPal page generates the Pending order.

    The only other gateway I’m using are AuthNet CIM, so I don’t have any other checkout experience where the user can cancel a transaction after they’ve clicked the checkout button on the store’s checkout page.

    Very curious! Hope this additional info helps.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @sdowney

    Thanks for the reply! Thes Pending Payments order is the expectation when not using the Smart Buttons. When not using Smart buttons PayPal needs a way to communicate to the site, so the order is created because the IPN ( Instant Payment Notification ) from PayPal is not so smart.

    Since carts are stored in database sessions additional orders are not created each time the user makes another attempt, not until changes are made to the cart and thus a new cart session is created.

    Hopefully this helps clarify the functionality.

    Thanks again,

    Ah ha! Makes perfect sense. (I especially appreciate the comment “IPN is not so smart”. Preach!

    Thanks again.

    Steve

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    My pleasure. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cancelled payments with Smart Buttons disabled’ is closed to new replies.