Jump to content


Custom action

When I add to shopping cart product and change his quantity to eg.2 custom action is executed only once and we don't have information about product quantity

Please create in nexus documentation object invoice.

Status: Cannot Reproduce
Version: 1.5.1
Fixed In: 0


Updating Status to: Awaiting Feedback

Which custom action? onPaid or onPurchaseGenerated?
Updating Fixed In to: 0
Updating Status to: Cannot Reproduce

public function onPaid( $member, $package, $invoice )

how can I get item from $invoice? This class is not documented
$invoice->items is an array.

It may be better for your purposes to use onPurchaseGenerated, which is ran multiple times if a quantity higher than 1 is set.
Yes, I used onPurchaseGenerated :), but I think onPaid should be executed the same as onPurchaseGenerated