Difference between revisions of "Template:Gateways"

From WHMCS Documentation

Line 9: Line 9:
 
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"| Update Nameservers
 
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"| Update Nameservers
 
|-
 
|-
|style="border:1px #AAA solid;padding:0.2em;color:darkgreen;"| {{#switch:type | token = Token | cc = Credit Card | #default = 3rd Party}}
+
|style="border:1px #AAA solid;padding:0.2em;color:darkgreen;"| {{#switch:{{{type}}} | token = Token | cc = Credit Card | #default = 3rd Party}}
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{transfer|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{transfer|}}}|Yes|No}}
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{transfer|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{transfer|}}}|Yes|No}}
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{renew|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{renew|}}}|Yes|No}}
 
|style="border:1px #AAA solid;padding:0.2em;{{#if:{{{renew|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{renew|}}}|Yes|No}}

Revision as of 10:13, 9 October 2012

Registrar features grid template, produces something like:

Supported Features

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

To use:

{{gateways
| type = token
}}

You should only provide the options that the gateway supports. For example, saying 'whois = no' would not have worked.

Full list of options (case sensitive):

  • type - token or cc. Omit for 3rd Party