The PowerTranz gateway provides a shortcode to display accepted payment card logos anywhere on your site.
powertranz_cards
Displays the logos of accepted credit card brands.
Basic Usage
[powertranz_cards]
This displays card logos at the default size (32 pixels).
Parameters
| Parameter | Description | Default |
|---|---|---|
size | Size of the card logos in pixels | 32 |
Size Options
The shortcode supports three size tiers:
- Small (24px) – Use any value below 32
- Medium (32px) – Use values between 32 and 53
- Large (64px) – Use values 54 and above
Examples
Small logos:
[powertranz_cards size="24"]
Medium logos (default):
[powertranz_cards size="32"]
Large logos:
[powertranz_cards size="64"]
Where to Use
Add this shortcode to:
- Your footer to show accepted payment methods
- Product pages to reassure customers
- The cart or checkout page sidebar
- A dedicated payments or FAQ page
Displayed Cards
The shortcode displays logos for:
- Visa
- Mastercard
- American Express
- Discover
- Diners Club
Logos are displayed inline with appropriate spacing and alt text for accessibility.