Discussions

license only added to free orders

Hello,
I have setup commerce license and commerce license role 7.x-1.2 for a membership product. The process is working well when the order amount is zero, we have coupons for free memberships. If a purchase is made for $100 for example no license is created. Please let me know how to get the licenses to work for paid memberships. License rule pasted below.

Sincerely,
John

{ "commerce_license_activate_licenses" : {
"LABEL" : "Activates licenses of an order",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"TAGS" : [ "Commerce License" ],
"REQUIRES" : [ "commerce_license", "commerce_payment", "commerce_checkout" ],
"ON" : {
"commerce_payment_order_paid_in_full" : [],
"commerce_checkout_complete" : []
},
"DO" : [
{ "commerce_license_activate_order_licenses" : { "commerce_order" : [ "commerce-order" ] } }
]
}
}

Tags: 
jfuture
Posted: May 14, 2014

Comments

jfuture jfuture on May 29, 2014

Please let me know if there is a reason only free licenses are being created.

Thanks,
John