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.

payment_methods

Generate a list of active payment methods

Example

[%payment_methods%]
    [%param header%]
        <h4>Payment Methods</h4>
    [%/param%]
    [%param *body%]
        <p>[@name@]</p>
    [%/param%]
    [%param  footer%]
    [%/param%]
[%/payment_methods%]

Usage

The payment_methods tag generates a list of active payment methods as defined by the control panel. This can be used to either generate a list of icons like we do by default in the footer, or present a list of options the customer can interact with during checkout.

payment_methods Parameters

Name Options Description
type:'' String Specifies which type of payment types to print
id:'' String Specifies a specific payment method to query for results
limit:'' Integer Limits the results of the payment methods available
sortby:'' sortorder, name Determines what to sort the payment methods by
charge_type:'' acc, cc
show_account:'' 1/0 A boolean that when set to true
repeat_only:'' 1/0 A boolean that when set to true
no_surcharge:'' 1/0 A boolean that when set to true
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 their are no active payment methods this block is printed in place of the header, body & footer

payment_methods Data Tags

Name Description
[@name@] The name of the filter value
[@id@] The unique ID for the payment method
[@payment_desc_type@] The short description type of payment
[@repeat_pay@] Y or N value depending on whether that payment type supports repeat billing
[@count@] An automatically increasing count with each run of the body param