checkout/checkoutPayment.template.html

Follow

This template allows the user to make a payment during the checkout process

General Payment references

TermData TypeTypical OutputDescription
payment.extra_steps boolean True / false Determines if there are extra steps to make, Sagepay only
payment.tag varchar Paypal The plain text tag for the payment module
payment.messages* varchar   Any error messages returned from the payment processor
payment.form html <form… The HTML Payment form
payment.form_select_module html <select… HTML form select to choose payment method

* To be deprecated soon

Usage

{{ payment.messages }}
 
{% if payment.extra_steps %}
 
{# Extra Steps for Sagepay Direct Only - Scrap this if you never intend to use Sagepay Direct #}
{% if payment.tag == "sagepaydirect" or payment.tag == "protx" %}
<table cellspacing="0" cellpadding="0" id="productList">
    <thead>
    <thead>
        <tr>
            <th colspan="3">Extra security steps are required.</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td colspan="3">{{ payment.form|raw }}</td>
        </tr>
        <tr>
            <td>
                <div class="box_info">
                    <h3>About Our Additional Security Checks</h3>
                    <p>Verified by Visa and Mastercard Securecode provides reassurance that only you can use your credit/debit card online.
                    </p><p>
                        Verified by Visa and Mastercard Securecode is a verification process developed by Visa and Mastercard to make online transactions more secure and protect you from fraud and identity theft. Submitting the additional information above will successfully complete your order.
                    </p><p>
                        Please note that your order will not be complete until you go through the verification procedure. </th>
                    </P>
                </div>
            </td>
        </tr>
    </tbody>
</table>
{% endif %}
{% else %}
<table cellspacing="0" cellpadding="0" id="productList">
    <thead>
        <tr>
            <th colspan="3">Please choose your payment method from the drop down list below:</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td colspan="3">
                <div class="payment">
                    <form name="set_payment_module" method="post" action="checkout_payment.php">
                        <input type="hidden" name="action" value="set_payment_module">
                        <strong>Choose Payment Method:</strong>&nbsp;&nbsp;{{ payment.form_select_module|raw }}
                    </form>
                    <br />By proceeding you agree to our <a href="terms.html" title="Terms & Conditions" target="new"><u>Terms & Conditions</u></a></div>
 
            </td>
        </tr>
        {{ payment.form|raw }}
    </tbody>
</table>
 
{% endif %}
Have more questions? Submit a request

Comments

Powered by Zendesk