Download the PHP package netbull/mpay24-bundle without Composer
On this page you can find all versions of the php package netbull/mpay24-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netbull/mpay24-bundle
More information about netbull/mpay24-bundle
Files in netbull/mpay24-bundle
Package mpay24-bundle
Short Description Mpay24 wrapper bundle
License MIT
Informations about the package mpay24-bundle
Mpay24Bundle
This is Symfony bundle which works with mpay24.com payments.
Dependencies
Installation
Step 1: Download the bundle
Type the following command in the Terminal or add it manually to the composer.json
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
Step 3: Configure the Bundle
-
Option 1
create a configuration file
app/config/netbull_mpay24.yml
folder and include it inapp/config/config.yml
-
Option 2
if you want to have separate configuration for the different environments like Prod and Dev, you need to create config file for each of the
app/config/netbull_mpay24_prod.yml
andapp/config/netbull_mpay24_dev.yml
and include them in the corresponding config filesapp/config/config_prod.yml
app/config/config_dev.yml
Usage
the registered service is netbull.provider.mpay24
Using directly the SDK Api
in controller can be used with $this-get('netbull.provider.mpay24')->getInstance()
Creating token for credit card payment
The payment provider automatically tries to detect the current Locale from the request object if the language is not specified in the options
Further reading
A short demo implementation guide is available at https://docs.mpay24.com/docs/get-started Documentation is available at https://docs.mpay24.com/docs.