Payment method

The payment method page allows the customer to choose which payment method he or she prefers. In the myShop editor can be set which methods are available. The list of payment methods can be displayed with the myShop extension myshop-repeat:payment-method-list.

The payment method list

The list of payment methods works just like the list of address fields in the address page, with a repeat block. The repeat block can be called with the extension myshop-repeat:payment-method-list. Within this repeat the following extensions can be used to display the label and control for each payment method.


This page uses the standard navigation actions, myshop-action:previous-page and myshop-action:next-page. These actions allow the customer to proceed with ordering or return to the previous page.


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
    <head><title>Simple example of a payment method page</title></head>
        <table width="100%" border="0"> 
                <td colspan="2">Please choose one of the following payment methods.</td>
            <tr style="myshop-repeat:payment-method-list">
                <td width="6px"><span style="myshop-value:control"/></td>
                <td><b><span style="myshop-value:label"/></b></td>
                <td><span style="myshop-value:description"/>
                        <span style="myshop-has:issuer-list">
                                &nbsp;<span style="myshop-control:issuer-list"/>
                <td style="myshop-has:payment-method-costs">
                        <span style="myshop-value:price-formatted"/>
                <td colspan="3">
                    <a style="myshop-action:previous-page"><< Previous page</a>
                    <a style="myshop-action:next-page">Next page>></a>


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment