The payment amount is constructed by totalling order products only, but an order can have shipping, etc as well.

Comments

xano’s picture

Assigned: Unassigned » xano
Status: Active » Needs review
StatusFileSize
new4.15 KB

The attached patch is based on existing Ubercart code and replaces the Payment line item type provided by this module with four new ones:
Three line items for when the order is paid entirely
- Products
- Order line items
- hook_uc_order('total', $order) results ("Other")
One line item for when the order is being paid partly
- Order balance

xano’s picture

StatusFileSize
new4.67 KB

Add Payment >1.0 dependency, because this patch requires #1831496: Add line item callback for prefixed line item names.

Status: Needs review » Needs work

The last submitted patch, payment_ubercart_1827006_02.patch, failed testing.

xano’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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

xano’s picture

Assigned: xano » Unassigned