Difference between revisions of "Template:Payment form"

From cm2.liecourt.com
(Fill database)
(Fill database)
 
(7 intermediate revisions by 2 users not shown)
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|}}}" />
 
{{Item responsive |Cols={{#var:@cols}} |1=Description |2=<wsfield name="description" id="{{{Type|}}}-description" type="hidden" class="form-control" required="required" value="{{{Description|}}}" />{{{Description|}}} }}
 
{{Item responsive |Cols={{#var:@cols}} |1=Description |2=<wsfield name="description" id="{{{Type|}}}-description" type="hidden" class="form-control" required="required" value="{{{Description|}}}" />{{{Description|}}} }}

Latest revision as of 13:29, 7 December 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=
}}