This payment module adds a "No payment required" payment method (for free stuff).
By default, this payment method will be available to all orders. Here are the steps to configure this payment method to only show up for orders with a balance of 0.00:
- edit the No Payment payment method (Store > Configuration > Payment Methods)
- Add condition
- select Order balance comparison as the Condition to add (Data selector will be commerce_order)
- set the Operator to =
- the Value should be 0
- Save the condition
- Save changes to the payment method
You may also want to hide all other payment methods so that "No payment required" is the only option on an order with a balance of 0.00.
- edit a payment method you want to hide (Store > Configuration > Payment Methods)
- Add condition
- select Order balance comparison as the Condition to add (Data selector will be commerce_order)
- set the Operator to >
- the Value should be 0
- Save the condition
- Save changes to the payment method
This module is also useful for testing; making it faster to to pay the full payment with one click.
Note that you may not need this module at all, if you don't *need* this pseudo-payment for your testing or implementation. Just go to the Checkout Settings (admin/commerce/config/checkout) and drag the "Payment" pane to "disabled". You'll need to trigger order completion on something other than payment in that case, of course.
Downloads
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Developer, E-commerce
- Reported installs: 246 sites currently report using this module. View usage statistics.
- Downloads: 625
- Last modified: October 14, 2011