OrderPaymentMethod
The order_payment_method object describes a payment method used for an order.
Usage Example
{%- comment -%} List all payment methods for an order {%- endcomment -%}
<ul>
{% for method in order.payment_methods %}
<li>{{ method.title }}: {{ method.amount }}</li>
{% endfor %}
</ul>Properties
type
Returns the type.
title
Returns the title.
status
Returns the status.
is_paid
Returns true if this payment method status is paid.
currency
Returns payment method currency
info
Returns additional information about the payment method.
description
Returns payment method description.
fee
Returns the payment fee.
net_fee
Returns the payment fee without tax.
tax
Returns the tax amount.
paid_amount
Returns the paid amount.
rate
Returns the tax rate in decimals.
rate_percentage
Returns the tax rate.
gift_card
If this payment method type if gift_card this returns information about the gift card used as a payment method. Following properties are available:
- value
- code
- expires
- value_left