.. _forms_customization_reference: Forms Customization ###################################### .. toctree:: :maxdepth: 1 .. contents:: :local: .. role:: ex .. role:: code .. _payment_page_display_logic_reference: Payment Page Display Logic ==================================================== .. uml:: :align: center skinparam ConditionEndStyle hline : (1) Initiate transaction; if ((2) Additional Payer input required?) then (yes) : (3) return input form; : (4) submit form; else (no) endif if ((5) External form required?) then (yes) : (6) request external form from the payment provider; : (7) redirect to external form; : (8) submit form on payment provider side; else (no) endif : (9) show wait form; : (10) process transaction; : (11) show finish form or redirect \nto Connecting Party website; | (1) Transactions can be initiated with API requests, batch upload or via Virtual terminal on UI. Each payment method has its own payment page display logic. .. note:: Payment Cashier might have multiple transactions initiated within the same payment session, because it can have multiple payment methods available for the Payer. When Payer selects payment tab, respective auxiliary transaction is initiated. See :ref:`Payment Cashier Page Customization`. | (3) For credit card payment method form is displayed on Payment Gateway side and can be customized. See :ref:`Payment Page Customization`. Some other payment methods may have additional forms on Payment Gateway side. Contact Payneteasy support for details. | (7) Some payment methods require the Payer to be redirected to their own form. That form is not hosted by Payment Gateway and can`t be customized. | (9) Until transaction reaches final status, Payment Gateway displays :ref:`Wait Form` for the Payer. | (11) After the transaction reaches the final status, Payment Gateway displays :ref:`Finish Form` for the Payer or :ref:`Redirect` to Connecting Party website. .. _payment_page_customization_reference: Payment Page Customization ==================================================== Payment Page Example ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: html

Order #$!MERCHANT_ORDER_ID - $!ORDERDESCRIPTION

Total amount: $!AMOUNT $!CURRENCY to $!MERCHANT

Cardholder name:
Card verification value:
Expiration date:
$!{INTERNAL_SECTION} #if($!card_error)
$!card_error
#end
.. note:: The code described below allows to submit destination card data in :ref:`Transfer` type transactions: .. code-block:: html
Payment Page Autofill ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If Connecting Party wants to use autofill in payment form, certain element attributes :code:`` :code:`` :code:`