Base Tag Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.

order_payment_history

Generates a history of payments for an order based on ID when applicable

Example

[%order_payment_history id:'[@order_id@]'%]
    [%param *body%]
        <p>[@payment_amount@] Paid on [@date_paid@] with method [@payment_name@]</p>
    [%/param%]
[%/order_payment_history%]

Usage

The order payment history tag generates a list of payments made to an order based on the ID parameter.

order_payment_history Parameters

Name Options Description
id:'' Order ID The order ID you wish to query for a list of payments
header HTML & b@se tags Renders a single usable space above the body
body* HTML & b@se tags Runs an array for each option in the tag
footer HTML & b@se tags Renders a single usable space below the body
ifempty:'' HTML & b@se tags If the order_payment_history returns no results, it'll load this block instead

order_payment_history Data Tags

Name Options
[@count@] A integer count that increases by one with each body param rendered
[@date_approved@] The date the payment was approved
[@date_paid@] The date the payment was submitted & paid
[@payment_amount@] The payment amount made
[@payment_name@] The name of payment method used