Difference between revisions of "Template:Payment form"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 30: Line 30:
 
<wsfield name="transactions" id="{{{Type|}}}-transactions" value="{{{Transactions|}}}" type="hidden"></wsfield>{{#if: {{{Billing name|}}} |  
 
<wsfield name="transactions" id="{{{Type|}}}-transactions" value="{{{Transactions|}}}" type="hidden"></wsfield>{{#if: {{{Billing name|}}} |  
 
{{Item responsive |Cols={{#var:@cols}} |1=Client name |2=<wsfield name="billing_address_name" id="{{{Type|}}}-billing-name" value="{{{Billing name|}}}" type="hidden" class="form-control" required="required"></wsfield>{{{Billing name|}}} }} }}
 
{{Item responsive |Cols={{#var:@cols}} |1=Client name |2=<wsfield name="billing_address_name" id="{{{Type|}}}-billing-name" value="{{{Billing name|}}}" type="hidden" class="form-control" required="required"></wsfield>{{{Billing name|}}} }} }}
{{Item responsive |Cols={{#var:@cols}} |1=Price |2=<wsfield name="amount" id="{{{Type|}}}-price" value="{{{Price|}}}" type="hidden" class="form-control" required="required"></wsfield>{{{Price|}}} }}
+
{{Item responsive |Cols={{#var:@cols}} |1=Price |2=<wsfield name="amount" id="{{{Type|}}}-price" value="{{{Price|}}}" type="hidden" class="form-control" required="required"></wsfield>$ {{{Price|}}},- }}
 
<wsfield name="Quantity"  type="hidden" value="{{{Quantity|}}}" />
 
<wsfield name="Quantity"  type="hidden" value="{{{Quantity|}}}" />
 
<wsfield name="User"  type="hidden" value="{{{User|}}}" />
 
<wsfield name="User"  type="hidden" value="{{{User|}}}" />

Revision as of 09:19, 19 May 2020


This is the Payment form template. It should be called in the following format:

{{Payment form
|Type=
|Invoice id=
|Description=
|Billing name=
|Billing email=
|Price=
|Billing address=
|Billing address 2=
|Billing city=
|Billing state=
|Billing zip=
|Billing country=
|Paytrace validated customer id=
}}