A way to implement cash on delivery payment (COD)
I Try to Implement cash on delivery payment COD
I want apply a charge for this type of payment
I use the COD module - http://drupal.org/project/commerce_cod
I Create a Product COD but I have not understand how to create the correct rule to add the item in the shopping cart when someone select the method Cash on Delivery
The rule I created is
Calculating the sell price of a product
Selected payment method comparison
Parameter: Order: [site: current-cart-order], Payment method: Cash on Delivery
Add a product to the cart
when i debugging the rule i have the error:
The variable or parameter commerce_order is empty.
Unable to evaluate condition commerce_payment_selected_payment_method.