Answers.Body: <p>I set config variable to general config instead of commerce config. That's all..</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-01T05:46:41.240Z
Answers.LastActivityDate: 2021-07-01T05:46:41.240Z
Answers.UserDisplayName: Taher Kathiriya
Body: <p>Recently Craft provide checkout without payment but not working for me. I followed the instruction of craft doc. set config variable: <strong>allowCheckoutWithoutPayment</strong></p>
  <p><a href="https://craftcms.com/docs/commerce/3.x/making-payments.html#deferred-payment-at-checkout" rel="nofollow noreferrer">https://craftcms.com/docs/commerce/3.x/making-payments.html#deferred-payment-at-checkout</a></p>
  <p>Here is my code.</p>
  <pre><code>&lt;form autocomplete=&quot;off&quot; novalidate method=&quot;post&quot; class=&quot;form&quot; id=&quot;paymentForm&quot;&gt;
              &lt;div class=&quot;hidden&quot; style=&quot;display: none;&quot;&gt;
                  {{ csrfInput() }}
                  {{ hiddenInput('action', 'commerce/cart/complete') }}
                  {{ redirectInput('/store/order-placed/{number}') }}
              &lt;/div&gt;
  
              &lt;div class=&quot;mt-2 flex items-center justify-between&quot;&gt;
                  &lt;div class=&quot;show-inline&quot;&gt;
                      &lt;button type=&quot;submit&quot; name=&quot;submit&quot; class=&quot;btn btn-sm btn-indigo&quot;&gt;Submit Your Quote&lt;/button&gt;
                      &lt;img src=&quot;{{ siteUrl }}assets/images/ajax-loader.gif&quot; class=&quot;ajax-loader&quot;&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/form&gt;
  </code></pre>
  <p>Thanks for help cheers</p>
  
Tags: <craft3><plugin-craftcommerce3><payment>
Title: Checkout Without Payment
ThreadText: # Checkout Without Payment
  
  (Asked by: username_0 on 2021-06-29)
  
  Recently Craft provide checkout without payment but not working for me. I followed the instruction of craft doc. set config variable: **allowCheckoutWithoutPayment**
  
  <https://craftcms.com/docs/commerce/3.x/making-payments.html#deferred-payment-at-checkout>
  
  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>
  
              <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">
                  </div>
              </div>
          </form>
  
  ```
  
  Thanks for help cheers
  
  **Tags:** craft3, plugin-craftcommerce3, payment
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-07-01. Score: 2 | Accepted answer
  
  I set config variable to general config instead of commerce config. That's all..
  
  
  ---
  
  