• Resolved Dimitar Krumov

    (@barmolino)


    On the Tab for ordering the payment methods below
    /wp-admin/admin.php?page=wc-settings&tab=checkout

    We have an issue
    On this tab in Woocommerce there is a order for the payment methods
    We have Stripe, Pay Pal and the 3d is Revolut
    Ordering this way always hide the Revolut – Credit Card Fields
    If i move the Revolut at the top it show the Revolut Credit Card payment Fields
    The Problem is that we need to order the payments starting with
    1. Stripe
    2. Pay Pal
    3. Revolut

    Any other way when the Revolut is not on the top is hiding the custom fields for the card

    Screenshot on the checkout page
    https://snipboard.io/I21bMx.jpg

    Screenshot on the Settings Order Page
    https://snipboard.io/oF7HNk.jpg

    Seen similar issues here marked as Solved – https://www.ads-software.com/support/topic/stripe-33/

    • This topic was modified 1 year, 10 months ago by Dimitar Krumov. Reason: Adding 2 Screenshots and Link ti similar issue with Revolut
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support businessrevolutsupport_cornel

    (@businessrevolutsupportcornel)

    Hi @barmolino

    Thank you for your message,

    We have tested this report previously (for the above thread) but could not replicate the issue with a default WordPress&WooCommerce setup. We will investigate the different possible scenarios again and will update next findings under this thread.

    In the meantime could you please try switching to a different theme to see if perhaps that is the issue?

    Best regards,

    Thread Starter Dimitar Krumov

    (@barmolino)

    @businessrevolutsupportcornel
    Thanks for your support.

    I solve the issue with some additional php, filter function and also css order.

    The code has no problem at all with the default WooCommerce Storefront template and in the Live Customizer with theme live preview.

    Looks like when Revolut is not on the top of the Payment Settings order is not display it’s credit card fields.

    1. The working solution for now is to setup Stripe as default payment and use unset for the same gateway in the form-checkout.php

    2. In the WooCommerce Payement Settings Admin Dashboard to have Revolut as default payment moved on top.
    3. Then i add .revolut_cc{order:3;} with css to move the Revolut Tab at the 3 place
    4. add revolut_cc as checked by default in the foreach loop we are using to display the 3 of payment options.

    This way the order we need is correct and the revolut_cc credit card fields are visible and working with the test cards.

    Any other scenario with moving Revolut Payment Gateway – Credit Cards as 2 or 3 in the Order at the WooCommerce Payment Settings Dashboard is hiding the Credit Card Fields

    I didn’t try to disable all plugins but most of them are from WooCommerce and should not be an issue causing this.

    There is similar issues with the stripe when the position order is different and pay pal is above the stripe for example.

    But my workaround work for now
    Thanks.

    You can close the ticket and if you find this issue in your testing things be sure to make some solution that work with non default Storefront theme.
    P.S The theme is child on the store front and use Blocks that i think may be part of the issue

    Plugin Support businessrevolutsupport_cornel

    (@businessrevolutsupportcornel)

    That is great news. Thank you for sharing this. We are currently not supporting Blocks so that was most probably what was causing it.

    Hi, today I noticed this error on the payment page. Everything works on the checkout page. On the Add payment method page, everything works (if Revolut is the first, and the second is Stripe). But on the payment page, if the client decides to pay later, the card form is not loaded again. Type page …./checkout/order-pay/28036/?pay_for_order….. In the console, I saw that the script is not loading https://merchant-mgmt.revolut.com/orders/token/…… Why is this happening?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Order Revolut Payment in Woocommerce hide credit card fields’ is closed to new replies.