• Resolved eselmarvin

    (@eselmarvin)


    Hi,

    on my checkout page I have the following problem:

    When PayPal is chosen as payment method and the user does not fill all the mandatory fields in the form, he will be forwarded to the checkout page after he logged into his PayPal account.

    The checkout page then shows notifications to remind the user to fill the mandatory fields. Every time the field “Ort/Stadt” is filled the yellow PayPal button, the giropay, sofort and the credit card buttons are disappearing and the text “Sie bezahlen gerade mit PayPal…” appears. The “Jetzt kaufen” button is missing, i.e. the user is stuck and can’t complete the purchase.
    When you refresh the page the “Jetzt kaufen” button appears.

    I hope I have made myself clear. Here are some pics for better understanding:

    These buttons disappear, when field “Ort/Stra?e” is filled

    text, appearing after field “Ort/Stra?e” was filled

    “jetzt kaufen” button appears after page was refreshed

    I would be thankful for hints to solve the problems.

    Kind regards
    Harry

    The page I need help with: [log in to see the link]

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

    (@niklasinpsyde)

    Hi @eselmarvin,

    When the user does not fill anything into the required form field, the PayPal window should not open in the first place unless the basic validation is disabled via a filter.

    I can’t see the images you provided (don’t have facebook access), but I have an idea of what you are seeing.

    We are working on improving the behavior when the plugin validation passed, but then the WooCommerce failed after the user confirmed the payment in the PayPal popup window.

    At that point, the user has a “pre-authorized” payment, and it would be reasonable to only present the “Place order” button and hide all other gateways and buttons.
    But as you mention, only a manual site refresh causes the “Place order” button to appear.

    In our own tests, the other PayPal buttons do not disappear after an AJAX reload though, so the user is never fully “stuck” as they could, in theory, go through the payment process again by clicking the PayPal button.
    Maybe this specific behavior is impacted by the theme. Can you also try it with the Storefront theme?
    Anyway, going through the payment process again would only result in a single payment but it’s obviously not the most user-friendly way to treat the failure.
    I don’t want to make any promises but the plan is to have a developer look into this the following week to maybe include it in the next update.

    Kind regards,
    Niklas

    Thread Starter eselmarvin

    (@eselmarvin)

    Hi Niklas,

    thanks for your reply. I actually added the filter:

    add_filter( ‘woocommerce_paypal_payments_basic_checkout_validation_enabled’, ‘__return_false’ );

    to my functions.php file some days ago, because there was an English notification that was quite confusing for German users.

    I deleted that filter. Now it works as it should.

    Kind regards,
    Harry

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @eselmarvin,

    I see, thanks for the feedback.
    With the basic validation disabled, it is more likely for a user to be in the scenario described above because there is nothing that prevents them from clicking the button.
    With the latest update 1.9.2, the error message was changed from a generic one to better match the WooCommerce errors, and it will automatically use the WooCommerce translations, if available.
    We recommend leaving the basic validation enabled.

    It is still possible to trigger the described scenario with the basic validation enabled, but it’s much less likely to occur. For example, if you provide an invalid zip code, the basic validation doesn’t know what’s valid or not.
    So if you attempt to checkout with a zip code “1” for Germany, our basic validation would pass, and only the WooCommerce validation would complain after the PayPal order was created (but not yet captured). Then the buyer would be in the same spot again.
    But the UX if the payment fails should be improved in a future update to directly display the “Place order” button as the payment was already pre-authorized.
    Then it should (hopefully) be obvious to the user what to do in any case.

    Kind regards,
    Niklas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Jetzt kaufen” button missing on checkout page, user gets stuck’ is closed to new replies.