Download the PHP package i-val/interpay without Composer
On this page you can find all versions of the php package i-val/interpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download i-val/interpay
More information about i-val/interpay
Files in i-val/interpay
Package interpay
Short Description Online paymenyt integration for the Laravel framework
License MIT
Informations about the package interpay
Interpay
Laravel payment integrtation.
Description
A payment integration package for laravel. It currently has support for Paystack
Getting Started
1. Installation
2. Publishing assets
- How to run the program
- Step-by-step bullets
3. Environment Variables
create the following variables in your .env file...
Accept Payment
First, you need to import the "Paystack" class
To collect payment to your paystact wallet...
To verify payment...
.$reference above is the unique transaction reference returned after a successful payment
For refunds, pass in the transaction id generated during payment, alongside the amount
Transfers
Transfer recipients
To create a transfer recipient, you need to pass in an associative array as follows
Initiate TransferS
You'll need a unique, generated transfer reference and the recipient code returned from the createRecipient() method.
Initiate Bulk TransferS
You'll need to pass in the recipient details above, but this time it will be a multidimensional array
Fetch Transfer
To fetch a transfer deatail, pass in the transfer id or code
Verify Transfer
To verify a transfer deatail, pass in the transfer $reference
OTP enabled Transactions
For otp enebled transactions, you'll need to call the finalize tranfer method which accepts the $transfer_code and $otp as arguments.
Check Balance
Security Vulnerabilities
If you discover any security vulnerabilities, please reach out to Valentine Iwuchukwu via [email protected]
License
This project is an open-source software licensed under the MIT license