ebanx-currency-converter icon indicating copy to clipboard operation
ebanx-currency-converter copied to clipboard

๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡ฒ๐Ÿ‡ฝ๐Ÿ‡ฆ๐Ÿ‡ท๐Ÿ‡จ๐Ÿ‡ด๐Ÿ‡จ๐Ÿ‡ฑ๐Ÿ‡ต๐Ÿ‡ช This is a currency converter to use with EBANX Gateway.

EBANX Currency Converter

This is a currency converter to use with EBANX Payment Gateway for WooCommerce. This is an unnoficial plugin.

Requirements

  • PHP 5.6+
  • Wordpress 4.0+
  • WooCommerce 2.6+
  • EBANX Payment Gateway for WooCommerce 1.10.0+

EBANX only supports currency exchange when processing with USD or EUR, so this plugin requires that your store process one of these two currencies.

Getting Started

The easiest way to use this plugin is using the included Widget.

  1. On WordPress Admin Dashboard go to Appearence ยป Widgets.

widgets

  1. Drag and drop EBANX Currency Converter widget into any layout area.

layout area

  1. Choose the countries you process with EBANX and save.

countries

  1. That's it!

done!

Customizing

You can make your own design and use this plugin in your theme! Just make sure you add the following attributes to the elements you want to use as currency switch:

  • class: ebanx-currency-converter--flag-link This class has no styling. It is used for javescript to find the flag elements.
  • data-currency: USD, EUR, BRL, MXN, COL, CLP or PEN The currency this link switches to.

Example:

<button class="ebanx-currency-converter--flag-link" data-currency="BRL">Real</button>
<button class="ebanx-currency-converter--flag-link" data-currency="USD">Dollar</button>

Also, for styling purposes, the selected currency will automatically get the class active.