Difference between revisions of "Template:Gateways"
From WHMCS Documentation
Line 8: | Line 8: | ||
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"| Refunds | !style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"| Refunds | ||
|- | |- | ||
− | |style="border:1px #AAA solid;padding:0.2em;color:darkgreen;"| {{#switch: | + | |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:{{{onetime|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{onetime|}}}|Yes|No}} | |style="border:1px #AAA solid;padding:0.2em;{{#if:{{{onetime|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{onetime|}}}|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:{{{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}} | ||
− | |||
|- | |- | ||
!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 | ||
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"| Delete Card | !style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"| Delete Card | ||
− | |||
− | |||
|- | |- | ||
− | |style="border:1px #AAA solid;padding:0.2em; | + | |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; | + | |style="border:1px #AAA solid;padding:0.2em;{{#if:{{{deletecc|}}}|color:darkgreen;|color:red;}}"| {{#if:{{{deletecc|}}}|Yes|No}} |
− | |||
− | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Registrar features grid template, produces something like: | Registrar features grid template, produces something like: | ||
Line 34: | Line 29: | ||
| onetime = yes | | onetime = yes | ||
| recurring = yes | | recurring = yes | ||
+ | |||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
− | You should '''only''' provide the options that the gateway supports. For example, saying ' | + | You should '''only''' provide the options that the gateway supports. For example, saying 'onetime = no' will not work. |
Full list of options (case sensitive): | Full list of options (case sensitive): | ||
* type - token or cc. Omit for 3rd Party | * type - token or cc. Omit for 3rd Party | ||
* onetime | * onetime | ||
+ | * recurring | ||
+ | * refunds | ||
+ | * updatecc | ||
+ | * deletecc | ||
</noinclude> | </noinclude> |
Revision as of 11:05, 9 October 2012
Registrar features grid template, produces something like: Template:Gateway To use:
{{gateway | 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