When using action "Commerce Credits Transaction Transfer" this exception gets thrown:

Exception: Entity does not have enough credit to complete transaction. in CommerceCreditsTransactionCreditsController->transferCreditWithTransaction() (line 216 of /var/www/html/stagephonic/sites/all/modules/commerce_credits_transaction/includes/controller.inc)

After adding parameter $type to function transferCreditWithTransaction() error disappears.

Comments

geraldito created an issue. See original summary.

geraldito’s picture

Title: Missing $type in controller.inc » Missing $type in rule Transaction Transfer
Status: Active » Needs work
StatusFileSize
new716 bytes

I attach a patch to fix that problem - but probably needs work yet parameter $type isn't used in function.