Difference between revisions of "Template:Payment form"

From cm2.liecourt.com
(Fill database)
Line 31: Line 31:
 
{{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|}}} }}

Revision as of 14:54, 22 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=
}}