It may be needed to create a PO transaction using rules on an event (for example, when charging recurring orders). There should be a rule which creates a PO transaction for a given order, charge, PO number and payment method instance ID.

CommentFileSizeAuthor
#2 2878843-2.patch5.55 KBbbujisic

Comments

bbujisic created an issue. See original summary.

bbujisic’s picture

Status: Active » Needs review
StatusFileSize
new5.55 KB

The rule action basically prepares parameters for commerce_purchase_order_transaction($payment_method, $order, $charge, $po_number) and then executes it.

Review would be appreciated.

  • bbujisic committed 7f5e646 on 7.x-1.x
    Issue #2878843 by bbujisic: Add a rules action to create a PO
    
    * Add...
bbujisic’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.