Recently Craft provide checkout without payment but not working for me. I followed the instruction of craft doc. set config variable: allowCheckoutWithoutPayment


Here is my code.

<form autocomplete="off" novalidate method="post" class="form" id="paymentForm">
            <div class="hidden" style="display: none;">
                {{ csrfInput() }}
                {{ hiddenInput('action', 'commerce/cart/complete') }}
                {{ redirectInput('/store/order-placed/{number}') }}

            <div class="mt-2 flex items-center justify-between">
                <div class="show-inline">
                    <button type="submit" name="submit" class="btn btn-sm btn-indigo">Submit Your Quote</button>
                    <img src="{{ siteUrl }}assets/images/ajax-loader.gif" class="ajax-loader">

Thanks for help cheers

1 Answer 1


I set config variable to general config instead of commerce config. That's all..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.