• Resolved wpjack12

    (@wpjack12)


    Dear support team,

    As of PayPal Payments version 1.7.0, the WooCommerce form field validation happens after the PayPal order has been created.

    (https://woocommerce.com/document/woocommerce-paypal-payments/#paypal-on-checkout-page)

    Is there a way to undo this behavior?
    Do you support a filter, action, or setting to validate before the PayPal order is created?

    The new behavior is extremely critical for customers, there are many support cases by store customers. Customers are increasingly asking if the payment has now worked.

    Or can you change the behavior back?

    Thank you in advance for your feedback.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @wpjack12,

    Can you elaborate on what precisely the problem is users are reporting? Even if clicking “Pay now” in the PayPal popup window despite not having all required Checkout fields populated, the buyer will be thrown back into the checkout page with error messages about the missing fields. No payment will be captured, no emails are sent. It should be pretty clear that the payment was not successful.

    The behavior was changed intentionally and there is no way to revert it without sacrificing stability. Rolling back to older plugin versions like 1.6.1 would be the only option that we do not recommend as it would likely cause more problems than help.
    The instant form field validation will return once there is a viable implementation that does not sacrifice compatibility. You can read more about it here: https://github.com/woocommerce/woocommerce-paypal-payments/issues/513

    Kind regards,
    Niklas

    Thread Starter wpjack12

    (@wpjack12)

    Hey Niklas,
    thank you for your reply 🙂

    It is correct as you describe the procedure.

    Actual behavior:
    – On checkout page: customer forgets at least one mandatory field.
    – Customer clicks on the “Pay now” button.
    – Pop-up window opens, customer logs in to his PayPal account
    – Customer clicks on “Pay now” button in pop-up window
    – Pop-up window closes, error message appears

    Now he enters all the required fields, clicks the “Pay Now” button again on the checkout page, the pop-up window appears, he clicks “Pay Now” again in the pop-up window.

    As you can imagine, many customers are afraid that they have paid twice!
    You know and I know that no payment was captured. But the customer thinks that:

    It should be pretty clear that the payment was not successful.

    Unfortunately, this is not correct. For the end customer, this is not absolutely clear. It is so even rather doubtful and causes queries on the part of the customer and purchase cancellations. Customers then do not click a second time on the “Pay Now” button in the pop-up, thinking they have already paid once.

    Desired behavior:
    – On the checkout page: the customer forgets at least one mandatory field.
    – The customer clicks on the “Pay now” button.
    – Pop-up does not open, WooCommerce error message appears.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @wpjack12,

    Thanks for the feedback.
    That’s what we are working towards. But it takes some more development before we get there.
    While the original implementation of the behavior was working well in a vanilla WooCommerce context, it could cause unforeseen compatibility issues when third-party plugins are hooking into specific checkout actions. The wide impact of this caused increased “excess orders” and failed orders despite successful payments.

    The change was intended to reduce the failure rate temporarily. But while the impact has diminished according to the data, it still caused more confusion and unforeseen side-effects than initially anticipated. We regret not having taken more preventive measures to make it more clear to the end-user that no payment was taken.
    We hope the linked GitHub issue will soon receive a PR with an approach to resolve the behavior. Subscribing to the issue notifications would be the best way to stay informed in this regard but we also try to keep an eye on all related support threads.

    Kind regards,
    Niklas

    Thread Starter wpjack12

    (@wpjack12)

    Hey Niklas,

    thanks for your response 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WooCommerce form field validation’ is closed to new replies.