5.8. Payment

Top  Previous  Next

payment_form.tpl - the form for payments filter

Local variables: none.

 

 

payments.tpl - the table with the list of payments and available actions

Local variables:

o

$sorting_field -  the ID of a field which will be used for sorting

o

$sorting_order -  the order of sorting

o

$found_payments_ids  -  the IDs of the user payments made

o

$payment_id - the ID of a payment

o

$status - the status of a payment

o

$isCompleted - contains the data is a payment was completed

o

$total_price  -  the total price of all payments in the table

 

payment_page.tpl - information about a payment and the form of a payment gateway

Local variables:

o

$product_info.price -  the price for a product / service

o

$product_info.name -  the name of a product / service

o

$GLOBALS.custom_settings.transaction_currency - the current currency, which is used for payments (Admin Panel -> System Configuration -> Custom Settings -> edit transaction_currency)

o

$currency_sign - the sign of the current payment currency

o

$product_info_price -  the price for a product / service

o

$product_info_name -  the name of a product / service

o

$errors  -  the array where keys are coding of errors and values are the additional information

o

$gateways  -  the array of available payment gateways

o

$gateway.url  -  the URL where all payment parameters are transmitted

o

$gateway.hidden_fields - the parameters of the payment

o

$gateway.caption - the caption of the chosen gateway

 

cash_gateway.tpl - the template for the Cash gateway with the description of all payment properties

Local variables:

o

$payment_id - the ID of a payment

o

$item_name -  payment description

o

$amount  - payment amount

o

$user.username  -  the username of a current user

 

cash.tpl - displays payment properties for the cash gateway

Local variables:

o

$payment_id -  the ID of a payment

o

$item_name -  payment description

o

$amount  - payment amount

o

$user.username  -  the username of a current user

 

wire_transfer.tpl - displays  payment properties for wire transfer

Local variables:

o

$payment_id -  the ID of a payment

o

$item_name -  payment description

o

$amount  - payment amount

o

$user.username  -  the username of a current user

 

callback_payment_page.tpl - the template for errors arising during payment verification

Local variables:

o

$errors -  the array where keys is coding of errors and values are the additional information