This library enables you to integrate EBANX with any PHP application.
- PHP >= 5.6
The EBANX library is available on Packagist, therefore you can install it by just updating your composer.json file:
run composer install, wait for it to finish.
It is very simple to use Benjamin. You will only need an instance of
If you need to change other settings, you can use the following function call:
Here’s an example of configuration:
You can change the following settings:
- integrationKey: Your integration key. This key will only be used on the live environment.
- sandboxIntegrationKey: Your sandbox integration key. This key will only be used on the test environment.
- isSandbox: Enable or disable the test mode. The default value is false.
- baseCurrency: The base currency of the trasaction
Here’s an example of payment request:
Here’s an example of response:
Found a bug? Want to add a new feature? Go on and send a pull request to our GitHub repository: