Difference between revisions of "Template:Gateways"

From WHMCS Documentation

m
m
Line 12: Line 12:
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{recurring|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{recurring|}}}|Yes|No}}
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{recurring|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{recurring|}}}|Yes|No}}
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{refunds|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{refunds|}}}|Yes|No}}
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{refunds|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{refunds|}}}|Yes|No}}
{{#ifeq:{{{type|}}}|token|
+
{{#ifeq:{{{type|}}}|token|'
 
|-
 
|-
 
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"| Update Card
 
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"| Update Card
Line 18: Line 18:
 
|-
 
|-
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{updatecc|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{updatecc|}}}|Yes|No}}
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{updatecc|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{updatecc|}}}|Yes|No}}
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{deletecc|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{deletecc|}}}|Yes|No}}| No Output}}
+
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{deletecc|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{deletecc|}}}|Yes|No}}'| No Output}}
 
|}
 
|}
 
{{#ifeq:{{{type|}}}|token|Hello World|No}}</includeonly><noinclude>
 
{{#ifeq:{{{type|}}}|token|Hello World|No}}</includeonly><noinclude>

Revision as of 11:17, 9 October 2012

Registrar features grid template, produces something like:

Supported Features

Type One Time Recurring Refunds 3D Secure
Token No Yes No No
Remote Update Card Remote Delete Card AddPayMethod API
No No No

To use:

{{gateways
| type = token
| onetime = yes
| recurring = yes

}}

You should only provide the options that the gateway supports. For example, saying 'onetime = no' will not work.

Full list of options (case sensitive):

  • type - token or cc. Omit for 3rd Party
  • onetime
  • recurring
  • refunds
  • updatecc
  • deletecc