A merchant reported that their reorder operations are not being applied, even if the output is correct, which we confirmed by checking the function logs:
The weird part about this is that in other stores this works perfectly, which leads me to think this is an internal Shopify bug. Also, the store is Shopify Plus from Germany, so the credit card limitations do not apply.
If you’re from the Shopify team and need more info, feel free to reach out please!
Just out of curiosity, does the error persist if they try to access the checkout in a browser with a cleared cache/cleared cookies or incognito/private browsing mode? Just wondering if it might be related to previous settings being pulled by temporary data.
If the issue persists though, if you’re able to share a shop ID for the shop, I can take a look on our end and get in touch with our Checkout UI Extensions devs to dig into this further.
Hey @Pridentt - just following up here. Our devs touched base with me and we’re investigating this. I’ll loop back with you here once we’ve looked a bit more deeply into this. I think one of our product team folks DMed you as well, but feel free to ping me here with that shop ID too.
Hi @Alan_G@Liam-Shopify, are there any updates or estimated dates about this issue? The merchant is hoping that this could be fixed before Easter break. Would this be possible? Also, if we can help with any other information please let me know.
Hey @Pridentt - thanks for following up here We still don’t have a specific turnaround time but I can confirm there has been movement on this. I would expect it to be resolved before the Easter Break, just based on the timeline we’re seeing, but I will loop back with you here when I can confirm the fix is live on our end
Hi again @Alan_G@Liam-Shopify, it’s been almost three weeks since the issue was reported. Can we get at least a turnaround time so the merchant knows when the issue will be resolved?
Also we’re worried that this issue could be impacting more merchants without us knowing.
Hey @Pridentt - we were able to do some more digging, and it looks like there may be a script (through our older Shopify Scripts functionality) running that is impacting your function’s logic on the merchant’s shop. Specifically this one here:
desired_order = ["Shopify Payments", "Cartes Bancaires (Mollie)","PayPal Express Checkout"]
Output.payment_gateways = Input.payment_gateways.sort_by do |payment_gateway|
desired_order.index(payment_gateway.name) || Float::INFINITY
end
If they need help identifying how to disable this, I think reaching out to our Plus Support team and sharing this thread would be the best next step. If the issue persists after disabling that script though, just ping me here and I can take another look for sure.
Thanks for your patience on this as well, it’s really appreciated