Home › Forums › WoodMart support forum › Guest Checkout Payment Fails with New Card – WoodMart Theme Conflict
Guest Checkout Payment Fails with New Card – WoodMart Theme Conflict
- This topic has 18 replies, 2 voices, and was last updated 1 month ago by
Luke Nielsen.
-
AuthorPosts
-
June 30, 2025 at 5:27 pm #670661
Taf BaigParticipantMessage:
Hello WoodMart Support Team,I’m experiencing a serious problem with the checkout process when using the WoodMart theme.
Problem Summary:
When a guest (not logged-in) user tries to pay using a new credit card, the payment fails.The error message shown is:
“An error occurred, please try again or try an alternate form of payment.”If the user is logged in, the payment goes through normally.
If I switch to a different theme (like Storefront), the issue is completely resolved — guest checkout with a new card works perfectly.
I tested the same issue with multiple PHP versions, and the problem still occurs.
Additional Issue with Latest PHP Version:
After updating to the latest PHP version, the checkout behaves even worse:When users enter their card info, the payment panel gets stuck loading and never finishes.
This seems like a JavaScript or AJAX issue introduced by a theme incompatibility with the updated PHP environment.
My Setup:
WordPress: Last versionWooCommerce: Last version
WoodMart: v8.2.5
Payment Gateway: Autorize .net
PHP Version: Tested on latest (issue persists)
Screenshot attached showing the stuck payment panel when trying to check out as guest.
This issue is critical as it prevents new customers from completing their orders. Please help me identify and resolve the conflict between WoodMart and the payment gateway during guest checkout.Thank you!
Best regards,
June 30, 2025 at 5:28 pm #670662June 30, 2025 at 5:50 pm #670684
Luke NielsenKeymasterHello,
Send me access to the admin panel and send me a test credit card so I can replicate that issue on your end and investigate. Also, confirm the permission for plugins deactivation and switching to the parent/default theme.
Kind Regards
June 30, 2025 at 11:15 pm #670734
Taf BaigParticipantThank you for your follow-up.
Attachments:
You must be logged in to view attached files.June 30, 2025 at 11:17 pm #670736
Taf BaigParticipantBefore proceeding with test payments, please go to the website and install the plugin File Manager so you can access the functions . php file.
Inside that file, please remove the following function, which we added to force customers to log in before checking out: (check attach file)
We added this function earlier to require login before checkout, which helps calculate shipping based on customer history. However, it interferes with guest checkout and might be related to the current issue.
✅ Next Steps
After removing that function, go to the Checkout page as a guest (not logged in).Open the browser’s page source.
Search for Accept. js. and maybe you will see error there
Testing
I cannot provide a test credit card, but you can search for a product priced at $0.01 and try checking out with it to simulate the payment process.If you’re able to fix the Accept.js issue on the guest checkout page, please let me know — I’ll test checkout again immediately.
⚠️ Important Notes:
Please do not deactivate plugins for too long — real customers are actively placing orders on the site.
If you need to deactivate anything, kindly do it as quickly as possible or during low-traffic times.
Let me know if you need admin access or a staging environment.
Kind Regards,
Thank youJune 30, 2025 at 11:20 pm #670737
Taf BaigParticipantYou can install file manager there using a plugin
folder of website is:
public_html/magicwandcompany.comalso you will see function that you need remove on function so you can go checkout without foce you to sign in
Attachments:
You must be logged in to view attached files.July 1, 2025 at 11:55 am #670835
Luke NielsenKeymasterPlease create a staging environment and send the FTP access so we can investigate it more deeply.
Kind Regards
July 1, 2025 at 2:11 pm #670893
Taf BaigParticipantBelow I will provide you with the FTP login details that you can pass on to your web developer:
July 1, 2025 at 2:13 pm #670894
Taf BaigParticipantPlease create a staging environment , do you mean make a copy website,
You can make a copy of website on beta subdomain: http://beta.magicwandcompany.com/July 1, 2025 at 3:44 pm #670923
Luke NielsenKeymasterHello,
We have disabled the child theme and the issue is gone. Please recheck that issue but without the Child theme, activate the parent theme and check how it works.
Kind Regards
July 1, 2025 at 6:14 pm #670966
Taf BaigParticipantHi still same issue, when I try pay without sign in, I see same message as you see in screenshot attach file, I think the problem you can see it when you click view source code of checkout
you will see accept.js as you see in attach file therePlease read file Function file in attach file too
Attachments:
You must be logged in to view attached files.July 1, 2025 at 6:16 pm #670969
Taf BaigParticipantSee this note too please
Attachments:
You must be logged in to view attached files.July 1, 2025 at 6:31 pm #670974
Taf BaigParticipantSee differnt between screenshot when you sign in after going checkout the the &# 039; defer is NOT showing beside accept.js but when if go to checkout without sign in the &# 039; is SHOWNING again with accept.js and this is problem, solution , Fix all &# 039; defer and remove # 039; from accept.js
Thank youAttachments:
You must be logged in to view attached files.July 1, 2025 at 6:41 pm #670979
Taf BaigParticipantFind out what’s injecting the ' inside accept.js and remove that, and go checkout as guest without sign in and check source code of checkout and see if you still see this code ', this is how you know you solved issue or not
July 2, 2025 at 9:21 am #671058
Luke NielsenKeymasterWe are checking here – when the child theme is enabled, there is a URL problem https://monosnap.com/file/kBYKlAaPP74vl66m8yHs5jY434Go04 but when we disable your child theme, the problem disappears https://monosnap.com/file/WusjqTy7T7GQaLSuJH7xLMaBu60YfR and accordingly, this problem is located in the child theme, and unfortunately our support does not cover troubleshooting problems in the child theme.
Kind Regards
July 2, 2025 at 3:53 pm #671231
Taf BaigParticipantHi,
Thank you for your response.
We want to clarify that the main issue occurs only when the Woodmart theme (child or parent) is active — not with other themes. This includes the critical payment loading issue on the checkout page, which directly affects our business.
We have extended support specifically to get assistance with this, and we expected help identifying what within the Woodmart setup (including the child theme if needed) is causing this major issue.
If this is something your team cannot solve, please let us know clearly so we can look for another solution. But we hope, since it’s directly related to the Woodmart theme and its compatibility, that your team can help fix this.
We appreciate your urgent support.
Kind regards,
Thank you!July 2, 2025 at 4:57 pm #671266
Luke NielsenKeymasterAs I mentioned above, the issue is in the Child theme, which means that you have the 3rd-party custom code in the Child theme that causes that issue. You can remove all 3rd party code in the Child theme and then the issue will be gone.
Kind Regards
July 3, 2025 at 5:15 pm #671566
Taf BaigParticipanthow I can remove all 3rd party code in the Child theme
July 3, 2025 at 5:24 pm #671569
Luke NielsenKeymasterHello,
Here is an example of the empty child theme – https://take.ms/ds0M4 -> https://take.ms/HRhLZ
You can use the File Manager plugin to remove third-party files/code.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register