Changing payment method display order not working
-
Changing the payment method display order is not working. Whenever I try to change the default order, which has credit card on top, and save it, after refreshing the page, the original order has returned.
Please fix, thank you.
-
Hi @tezalsec
I understand you are trying to reorder the payment methods within the Stripe gateway settings and the changes are not sticking. I can see how that would be confusing when you expect the display order to update, so I want to help clear this up and move this forward for you.
Stripe includes its own display order controls inside WooCommerce, Payments, Stripe, Payment Methods. However, based on how Stripe is currently built, the Credit card or debit card option is always fixed at the top of the list. This means it cannot be moved below other Stripe payment methods even when the interface appears to allow reordering. Other Stripe methods like Klarna, iDEAL, EPS and so on can be rearranged, but the main card gateway is intentionally locked in the first position.
To help us better understand what is happening on your site specifically, could you share a short Loom video of the steps you are taking and what you see after saving the order? You can share the link here so we can review it in context.
Once we can see the behaviour on your end, we can guide you more precisely. Looking forward to your update.
Hi Loving Bro 🙂
too bad credit card has to be on top. That partly answers my question. However, other order positions are not saved as well. See my screen recording video at https://streamable.com/ocdtrb (removed in 48 hours). I tried to move “Bancontact” up without success.
Thanks.Hi there!
Thank you for sharing the video of the issue. I have tried to replicate the problem on my end, and everything appears to be working correctly I can change the order status without any issues. This indicates that something specific on your site might be causing the problem.
To assist you better, could you please create a staging site, deactivate all plugins except WooCommerce and the Stripe gateway plugin, and then try changing the order status again to see if it works? You can use the following plugin to create a staging site:
https://ww.wp.xz.cn/plugins/wp-staging/
Also, could you please share the System Status Report which you can find via WooCommerce > Status. Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.Sorry, that’s too much work disproportionate to the issue. I dont see how other plugins would affect this, though. There are no js errors or php errors during the operation, I can say that.
I’ll leave it for now, it is not important enough to set up a whole staging site for. Thanks anyway.Hi there!
Thank you for the update.
Since we’re not able to replicate the issue on our end, this indicates that something specific to your site environment may be causing it. That’s why we recommended testing on a staging site or disabling other plugins. These steps help isolate whether a conflict or customization is affecting the order status functionality.
I completely understand if setting up a staging site feels like too much work for now. If the issue becomes more important later or you notice any new errors, feel free to reach out with the details and we’ll be happy to help further.
Before you go, if you found the Stripe Gateway for WooCommerce plugin helpful in receiving payments on your site, we’d really appreciate it if you could leave us a 5-star review. Your feedback helps us continue improving the plugin for everyone. Thank you!
https://ww.wp.xz.cn/support/plugin/woocommerce-gateway-stripe/reviews/#new-post
I’ll do that, thank you.
Hi there!
Thank you so much! We really appreciate your support. If you need any help in the future, feel free to reach out anytime.
I did the review. One last question: is it true you can not preselect a payment method by default?
Hi @tezalsec, I appreciate you taking a moment to share a 5 star review, it means a lot and I am glad the plugin is helping you keep things running smoothly. I also want to make sure I fully understand what you mean by preselecting a payment method, so I can guide you correctly.
Some store owners use the term to describe two different behaviours
- Having a specific payment method automatically selected when the checkout loads
- Or forcing a particular method to always be the default for customers
If you are referring to the first option, WooCommerce will automatically preselect the first available payment gateway in the display order. Since Stripe Credit Card is fixed at the top within the Stripe group, that is the one that will always be preselected when Stripe is active.
If you meant something else, feel free to share a little more context about what you are aiming to achieve so I can help you with a clear next step.
Yes, that is what I mean. I want credit cards to be available, but not preselected. There is no other way, I guess, besides some JS fiddling perhaps.
Hi there!
Thanks for the clarification!
WooCommerce automatically preselects the first payment method in the list. Since you want credit cards to be available but not preselected, the easiest solution is to change the payment method order.
If you move another payment method to the top of the list, that method will be preselected instead, and the credit card option will remain available but not active by default.
Here’s a quick screen recording showing how this works on my end:
https://go.screenpal.com/watch/cTl6IxnYDQWI changed the order in the settings, and you can see the selection updates accordingly.
If you need help adjusting the order, feel free to share a screenshot of your payment settings!
Well, that is funny, considering the start of this thread, because you or your colleague explained to me credit card has to be on top when activated….
“However, based on how Stripe is currently built, the Credit card or debit card option is always fixed at the top of the list. This means it cannot be moved below other Stripe payment methods even when the interface appears to allow reordering. Other Stripe methods like Klarna, iDEAL, EPS and so on can be rearranged, but the main card gateway is intentionally locked in the first position.”Hi there!
I completely understand your concern and I’m sorry for the confusion caused by my colleague’s earlier response. You are correct we can change the payment order as shown in the video you shared, but it seems like the change is not taking effect on your site.As I mentioned before, I wasn’t able to replicate this issue on my end, and the payment order works correctly when tested. That’s why I suggested performing a conflict test (disabling other plugins, using a staging site, etc.) to see if something on your site is preventing the changes from being saved.
We appreciate your patience while trying to isolate this, and we’re here to help if you decide to investigate further.
I think we are misunderstanding each other. 🙂
The point I am making is that you and your colleague seem to contradict each other, never mind my setup. You are saying: “Since you want credit cards to be available but not preselected, the easiest solution is to change the payment method order.”
But my conclusion based on what you are saying is: you can not preselect another paying method than credit card, when credit card is listed. Because when credit card is listed, it automatically goes on top (so there is no changing order) and is automatically preselected.-
This reply was modified 5 months, 4 weeks ago by
tezalsec.
Hi @tezalsec, I understand how this mixup happened and I appreciate you highlighting the contradiction. I want to make sure everything is clear and accurate moving forward, and I took another careful look at your earlier screen recording to confirm what is actually happening on your end.
After reviewing the video at https://streamable.com/ocdtrb I noticed a small detail that explains why the display order was not being saved. Once you rearranged your payment methods, you scrolled down and clicked the Save changes button at the bottom of the page. That button saves gateway settings, but it does not save the payment method order.
The payment order can only be saved using the Save display order button located at the top of the list, right above the payment methods. That is the button WooCommerce listens to when updating the sort order. I’ve added a screenshot here showing the correct button to use after rearranging the list
https://cln.sh/t5ltPBQHTlVFMFn6QFMXOnce you use that button, you should be able to place any method, including Bancontact, above Credit card and Debit card. The card method is not automatically forced to the top and is not fixed as the preselected option.
You should rearrange the list again using the correct save button and let me know how it goes, I will be here to help you move things forward.
You must be logged in to reply to this topic.