Download the PHP package ngandu-dev/maxicash without Composer
On this page you can find all versions of the php package ngandu-dev/maxicash. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ngandu-dev/maxicash
More information about ngandu-dev/maxicash
Files in ngandu-dev/maxicash
Package maxicash
Short Description The MaxiCash integration platform enables merchants to integrate with the MaxiCash platform to receive payments via their mobile applications or websites. The API uses JSON to interact with .Net or open source platforms such as PHP.
License MIT
Homepage https://github.com/ngandu-dev/maxicash-php
Informations about the package maxicash
Maxicash PHP
The MaxiCash Integration Platform enables Merchants to integrate with the MaxiCash platform in order to receive payments through their mobile apps or their websites. The API uses JSON to interact with .Net client or open source platforms like PHP. see more at Maxicash Documentation
Features
- Query-string payment URLs
- Donation URLs for NGOs
- Sandbox and live environments
Requirements
- PHP 8.4 or later
- Composer 2
Installation
You can use the PHP client by installing the Composer package and adding it to your application’s dependencies:
Usage
The MaxiCash Gateway enables the Merchant to Collect Payment into their MaxiCash account using multiple payment channels such as Credit Cards, MaxiCash, Paypal, Mobile Money and Mobile Banking.
Authentication
- Step 1. Download the MaxiCash Mobile App and signup...
- Step 2. Contact us to upgrade your account to a Merchant Account [email protected] You will receive a Merchant Form to complete in order to provide your business details and preferred Cash out Wallet or Banking Details.
- Step 3. Once the paperwork is completed, you will be issued with Live and Sandbox Accounts (MerchantID and MerchantPassword)
Create a Payment Entry
Note: we hightly recommand your
acceptanddeclineurls to be unique for each transaction, thus users will not be able to reuse them to validate other transactions, on your side save the transaction with a unique generated token (a.k.a transaction reference) and use it as parameter to your accept and decline urls, don't use it for thePaymentEntry->reference; once the user is redirected to your accept url, validate the token and grant access to the paid resource (with your own business logic).
Redirect to Maxicash Gateway
Redirect your user to the maxicash gateway to continue the payment process
Note : If you're using Turbo Drive in your Symfony application, disable it on payment links in your twig templates
Note : we highly recommand to do a
server sideredirection, this url can be modified and leak your maxicash credentials when displayed to your user in any manner (eg: a link, button or form) ! you can use theheader("Location: $url")fonction in vanilla PHP or return aRedirectResponse($url)in your controller when using Symfony or Laravel frameworks`
Donate Button for NGOs
Once you sign up as an NGO Merchant
Development
Contributing
See CONTRIBUTING.md before opening an issue or pull request.
Security
Report vulnerabilities privately as described in SECURITY.md.
License
Released under the MIT License.