Liqiud basics
Modules
API
Mailer
Payments
On this page
Overview
Below is a list of all the available drops on the payment object
| Name | Description |
| payment.id | The ID of the payment |
| payment.merchant_id | The merchant ID of the payement |
| payment.terms_uri | The URI for terms of the payment |
| payment.environment | The enviroment of the payment |
| payment.settings | The settings for the payment |
| payment.active? | Boolean. If the payment is active |
| payment.backend_name | The 'name' attribute in the admin section |
| payment.presentation | Localised presentation |
| payment.description | Localised description |
| payment.gateway_identifier | Missing description |
| payment.provider_type | Alias for gateway_identifier |
| payment.invoice_fee? | Boolean. Does the invoice fee exist? |
| payment.invoice_fee | The invoice fee for the payment |
| payment.default? | Boolean. Is payment the default? |
| payment.is_default? | Alias for default? |
| payment.logo? | Boolean. Is there a payment logo? |
| payment.info_image? | Boolean. Is there an info image? |
| payment.tooltip? | Boolean. Is there a tooltip? |
| payment.logo | The logo for the payment |
| payment.info_image | The info image for the payment |
| payment.tooltip | The tooltip for the payment |
| payment.javascript | Script tag |
Liquid filter tags
payment_method_logo
If the color isn't specified, the default is used.
pm is a Shop::PaymentMethodDrop
{{ pm | payment_method_logo: 'color' }}payment_method_info_image
If the arguments are not specified, the default is used.
pm is a Shop::PaymentMethodDrop
{{ pm | payment_method_info_image: 'color', 'version' }}
payment_method_tooltip
If the arguments are not specified, the default is used.
pm is a Shop::PaymentMethodDrop
{{ pm | payment_method_tooltip: 'color', 'version', 'width' }}
Updated: 2020-11-24