Difference between revisions of "Template:Gateways"

From WHMCS Documentation

 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
 
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"{{!}} Remote Update Card
 
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"{{!}} Remote Update Card
 
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"{{!}} Remote Delete Card
 
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"{{!}} Remote Delete Card
 +
!style="border:1px #AAA solid;padding:0.2em;background:#F2F2F2;text-align:center;"{{!}} AddPayMethod API
 
{{!}}-
 
{{!}}-
 
{{!}}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}}
 
{{!}}style="border:1px #AAA solid;padding:0.2em;{{#if:{{{deletecc|}}}|color:darkgreen;|color:red;}}"{{!}} {{#if:{{{deletecc|}}}|Yes|No}}
 +
{{!}}style="border:1px #AAA solid;padding:0.2em;{{#if:{{{addpaymethod|}}}|color:darkgreen;|color:red;}}"{{!}} {{#if:{{{addpaymethod|}}}|Yes|No}}
 
{{!}}}
 
{{!}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Line 52: Line 54:
 
* updatecc
 
* updatecc
 
* deletecc
 
* deletecc
 +
* addpaymethod
  
 
</noinclude>
 
</noinclude>

Latest revision as of 11:12, 21 September 2021

Registrar features grid template, produces something like:

Supported Features

Type One Time Recurring Refunds 3D Secure
Token Yes 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
  • reversals
  • 3dsecure
  • updatecc
  • deletecc
  • addpaymethod