Download the PHP package parkwayprojects/paywithbank3d-php without Composer
On this page you can find all versions of the php package parkwayprojects/paywithbank3d-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download parkwayprojects/paywithbank3d-php
More information about parkwayprojects/paywithbank3d-php
Files in parkwayprojects/paywithbank3d-php
Package paywithbank3d-php
Short Description A PHP API wrapper for PayWithBank3D.
License MIT
Homepage https://github.com/parkwayprojects/paywithbank3d-php
Informations about the package paywithbank3d-php
PayWithBank3D PHP
PayWithBank3D PHP is a library for using the PayWithBank3D API from PHP.
Installation
You can install the package via composer:
Usage
First you initialize the library with your public key, secret key and option(live or staging)
Transaction
initialize a transaction
This will automatically take you to secure payment page on PayWithBank3D, Once payment is completed, you are redirected to the url you specify in the returnURL
Verify Transaction
This return the status of the payment you just made and some other values of the transaction
Configuration Parameters
Parameter | Required | Description |
---|---|---|
amount | True | Amount to be charged in kobo. |
color | False | You get to choose a theme color for the payment modal that reflects your brand |
customer | True | This is an object that contains customer details |
False | Customer email address | |
metadata | False | This is an object that allows you to add additional detail(s) to your request |
phone | False | Phone number of customer |
reference | False | Your unique transaction reference. |
returnUrl | True | Url Redirected To After A Successful Payment. |
Testing
Credits
- Paul Edward
- All Contributors
License
The MIT License (MIT). Please see License File for more information.