Difference between revisions of "Template:Order"

From cm2.liecourt.com
(Fill database)
 
(Fill database)
Line 12: Line 12:
  
 
</noinclude><includeonly>__NOTOC__ __NOTITLE__{{#if:{{{Errors|}}}|<div class="m-5 alert alert-danger">{{{Errors|}}}</div>}}
 
</noinclude><includeonly>__NOTOC__ __NOTITLE__{{#if:{{{Errors|}}}|<div class="m-5 alert alert-danger">{{{Errors|}}}</div>}}
{{#if:{{{User|}}}|{{#set:Class=Order|User={{{User|}}}|Transaction={{{Transactions|}}}|Tokens={{{Tokens|}}} }} }}
+
{{#if:{{{User|}}}|{{#set:Class=Order|User={{{User|}}}|Transaction={{{Transactions|}}}|Tokens={{{Tokens|}}}|Paytrace validated customer id={{{Paytrace validated customer id|}}} }} }}
 
{{#if:{{{Transactions|}}}|<div class="m-5 alert alert-primary">Payment was successful {{#widget:link|type=a|href={{fullurl:{{{User|}}} }}|text=Back to profile page|class=btn btn-green}}</div>|
 
{{#if:{{{Transactions|}}}|<div class="m-5 alert alert-primary">Payment was successful {{#widget:link|type=a|href={{fullurl:{{{User|}}} }}|text=Back to profile page|class=btn btn-green}}</div>|
  
Line 22: Line 22:
 
|Billing email={{{Email|}}}
 
|Billing email={{{Email|}}}
 
|Price={{#expr:{{{Tokens|}}} * 200}}
 
|Price={{#expr:{{{Tokens|}}} * 200}}
 +
|Quantity={{{Tokens|}}}
 +
|User={{{User|}}}
 
|Billing address=
 
|Billing address=
 
|Billing address 2=
 
|Billing address 2=
Line 28: Line 30:
 
|Billing zip=
 
|Billing zip=
 
|Billing country=
 
|Billing country=
|Paytrace validated customer id=
+
|Paytrace validated customer id={{{Paytrace validated customer id|}}}
 
}}
 
}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:45, 15 May 2020


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

{{Order }}