Home Forums WoodMart support forum Error with Authorize.net and Woodmart theme

Error with Authorize.net and Woodmart theme

Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #702334

    maico.troppina
    Participant

    Hi,

    I purchased and installed the Woodmart theme and set up the WooCommerce Authorize.Net Gateway plugin in Sandbox mode.

    At checkout, I consistently receive the following error:

    An error occurred, please try again or try an alternate form of payment.
    Accept.js Error: payment nonce is missing

    To troubleshoot, I:

    Disabled all plugins except WooCommerce, the Authorize.Net gateway, and Woodmart-related plugins

    Tested the same checkout flow using a different theme, and the transaction completed successfully

    This leads me to believe the issue is related to Woodmart’s checkout implementation.

    Please let me know what information you need from me to investigate this further (logs, environment details, checkout configuration, etc.).

    Thank you for your support.

    Attachments:
    You must be logged in to view attached files.
    #702364

    Hello,

    Try to disable the custom layout for the checkout page and check the issue. You can do this in Dashboard > WoodMart > Layouts.

    If you have any questions, feel free to contact us.

    Best Regards,

    #702373

    maico.troppina
    Participant

    Hi,

    Thank you for your reply.

    I ran a few additional tests on the checkout layouts based on your suggestion:

    I first disabled the “Checkout layout top content – Vegetables” layout, but I was still getting the same Accept.js – payment nonce is missing error.

    I then disabled the “Checkout layout form – Vegetables” layout, and in this case the checkout page became empty, with no forms displayed.

    After a few page refreshes, I was eventually able to process an order successfully (see attached file). However, when this happens, the checkout layout loses all styling and looks completely different from the rest of the website.

    Based on these tests, it seems clear that the issue is related to the “Checkout layout form – Vegetables” layout.

    How I can isolate the specific element or setting within that checkout layout that is causing the payment issue, while still keeping the Woodmart checkout design intact and fully compatible with Authorize.Net / Accept.js?

    Which components inside the Checkout layout form could interfere with payment scripts?
    Whether there is a recommended way to debug or selectively disable parts of that layout?

    Thank you again for your help.

    Attachments:
    You must be logged in to view attached files.
    #702386

    Hello,

    For the checkout page styling when layout is disabled, please edit the checkout page and define the checkout shortcode in the page: [woocommerce_checkout]and check how it works.

    If you want to use custom layouts of the theme. When you create a custom layout with a page builder, it doesn’t contain any default elements or hooks. It contains only those elements that you added manually with the page builder.

    In this case, we have a special widget called “Woocommerce Hook” in the page builder that you can place to your custom layout, and then the plugin will be able to add its custom content there. But I don’t know which one exactly it needs. You can either try to select all hooks one by one or contact plugin developers for help.
    https://xtemos.com/docs-topic/custom-hooks-and-plugins-compatibility/

    Best Regards,

    #702389

    maico.troppina
    Participant

    Hi,

    Thank you for your reply.

    Could you please clarify how to perform the following step?

    “Edit the checkout page and define the checkout shortcode: [woocommerce_checkout].”

    A brief step-by-step explanation would be very helpful.
    Thank you.

    #702390

    maico.troppina
    Participant

    Another thing I noticed trying to figure out this issue is that if I go to Woocommerce-Checkout fields I am getting this error;
    There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

    Can this help?

    #702391

    maico.troppina
    Participant

    Regarding my last message if I selec the Woodmart theme and not the child one I am able to see the Checkout fields, but I am still getting the “Accept.js Error: payment nonce is missing” error.

    #702392

    maico.troppina
    Participant

    Hi,

    Thanks for your support. Sorry for my numerous messages, but I am trying to make it work.

    I added the [woocommerce_checkout] shortcode to the Checkout page and re-enabled the Woodmart child theme.
    Now the checkout is working correctly: the Woodmart layout is applied and the Accept.js error no longer occurs.

    The only issue I’m noticing at the moment is that the Thank You page appears twice after a successful order (please see the attached screenshot).

    Could you please advise what might be causing the Thank You page to load twice and how to resolve it?

    Attachments:
    You must be logged in to view attached files.
    #702450

    Hello,

    Could you please check how it works with some default WordPress themes like WooCommerce Storefront to understand if it is our theme issue or not?

    Best Regards,

    #702502

    maico.troppina
    Participant

    Hi,

    I tested the checkout using a different theme (Astra) and I am still seeing the checkout page and the Thank You page displayed twice (please see the attached screenshots).

    As a test, I removed the [woocommerce_checkout] shortcode from the checkout page. With Astra active, the checkout then displays correctly only once. However, when I switch back to the Woodmart theme, the Accept.js error returns.

    So at the moment:

    Astra theme + no shortcode → checkout displays correctly (once)

    Woodmart theme → Accept.js error

    Shortcode enabled → duplicated checkout / Thank You content

    Could you please advise on the next steps to properly resolve both the duplication issue and the Accept.js error while keeping the Woodmart checkout layout?

    Thanks in advance for your help.

    Attachments:
    You must be logged in to view attached files.
    #702513

    Hello,

    Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site, and then check the issue. I am sure your issue will be solved. Then activate the 3rd party plugins one by one and check which plugin is creating the issue for you.

    Otherwise, if the issue still exists, then keep the 3rd party plugins deactivated and share the WP login details, so I can check and give you a possible solution.

    Best Regards,

    #702517

    maico.troppina
    Participant

    HI, I have disabled all 3rd plugins and left only the following

    Elementor and Elementor Pro
    WooCommerce
    WooCommerce Authorize.Net Gateway (needs to be active to have cc payments)
    Woodmart Core

    Tested again and the issue still exists.
    I have create and admin user and sent credentials to you.
    Please let me know what did you figure out.
    Thanks

    #702518

    maico.troppina
    Participant

    Please note that to properly test the order flow, you’ll need to use the additional information I sent along with this message (credentials/test data).

    #702533

    Hello,

    I have checked your site with the default storefront theme and the issue still persists.

    See Screenshot for clarification: https://ibb.co/n8RXp9t9

    Can you please share some screenshots of the issue with the default theme and WoodMart theme so I can further check on your site and reproduce the issue?

    Best Regards,

    #702539

    maico.troppina
    Participant

    Hi,

    I had never encountered this error before, but I was able to replicate it by using the same product that was in your cart.
    Authorize.Net was returning an error because that product did not have a description. After I updated the product description, the purchase went through successfully and the Thank You page is now displayed only once.

    I also noticed that you modified the checkout page so that it now contains only the [woocommerce_checkout] shortcode. In my previous change, I had added the shortcode at the bottom of the page instead, which you may have noticed.

    Could you please let me know if this setup is fine, or if removing the previous custom checkout content causes us to lose any functionality or styling you had before?

    Looking forward to your thoughts.

    #702598

    Hello,

    Yes, this setup is perfectly fine. Using only the default [woocommerce_checkout] shortcode on the checkout page is the recommended and safest approach. It will not remove any WooCommerce or theme-related functionality or styling, as those are handled automatically by WooCommerce.

    The previous custom content around the shortcode was not required.

    Everything looks good from our side. Please feel free to reach out if you notice anything else or need further assistance.

    Best Regards,

    #702715

    maico.troppina
    Participant

    Hi,

    Thanks for your reply, I appreciate it.

    I ran some additional tests and it appears there is another conflict between the Woodmart theme and a plugin we are using.

    We use a plugin that allows customers to select an in-store pickup time during checkout. The dropdown with the available time slots displays correctly and the field is set as required. However, even after selecting a valid time slot, when the customer attempts to place the order, the following error appears:

    “Please choose store pickup time.”

    I tested the exact same setup using the Storefront theme, and the checkout and payment process works correctly with no errors. Please see the attached screenshots for reference.

    Could you please help investigate this issue?

    Thank you in advance.

    Thanks a lot for your support.

    Attachments:
    You must be logged in to view attached files.
    #702755

    Hello,

    Try to disable the custom layout for the checkout page and check the issue. You can do this in Dashboard > WoodMart > Layouts.

    Best Regards,

    #702785

    maico.troppina
    Participant

    Hi,

    When I disable the “Checkout layout top content – Vegetables” layout, the pickup time dropdown no longer appears when it should.

    If I disable the “Checkout layout form – Vegetables” layout, all checkout fields (billing details, order notes, payment section, etc.) disappear entirely.

    Please let me know how I should proceed to resolve this while keeping the Woodmart checkout layout active.

    Thank you.

    #702799

    Hello,

    I have disabled the both layouts on your site and placed an order and it is working fine.

    See Screenshot for clarification: https://ibb.co/S4Rp0tZ8

    When you create a custom layout with a page builder, it doesn’t contain any default elements or hooks. It contains only those elements that you added manually with the page builder.

    In this case, we have a special widget called “Woocommerce Hook” in the page builder that you can place to your custom layout, and then the plugin will be able to add its custom content there. But I don’t know which one exactly it needs. You can either try to select all hooks one by one or contact plugin developers for help.
    https://xtemos.com/docs-topic/custom-hooks-and-plugins-compatibility/

    Best Regards,

    #702881

    maico.troppina
    Participant

    Hi,

    Thank you for your support, and Happy New Year!

    I saw that you disabled both layouts and were able to place an order successfully. I’ll continue testing and will let you know if I encounter any further issues.

    I’ll also review the special widget documentation you mentioned in your message.

    Thanks again, and have a great day.

    #702904

    Hello,

    You’re very welcome

    Sounds good. Please feel free to reach out if you face any further issues during testing — we’ll be happy to help.

    Have a great day!

    Best Regards,

Viewing 22 posts - 1 through 22 (of 22 total)