Download the PHP package rainwaves/paygate-payment without Composer
On this page you can find all versions of the php package rainwaves/paygate-payment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rainwaves/paygate-payment
More information about rainwaves/paygate-payment
Files in rainwaves/paygate-payment
Package paygate-payment
Short Description A package for integrating with the PayGate payment gateway
License MIT
Informations about the package paygate-payment
PayGate Payment Package
The PayGate Payment Package provides a convenient way to integrate with the PayGate payment gateway for processing online payments. For more information, visit the PayGate Documentation.
Installation
You can install the PayGate Payment Package via Composer. Run the following command in your project directory:
Configuration
After installing the package, you need to configure it with your PayGate credentials. In Laravel, you'll need to publish the config file and set the credentials in your .env file:- PAYGATE_ID=XXXXXXXX
- PAYGATE_SECRET=XXXXXXXXXX
- PAYGATE_NOTIFICATION_URL=XXXXXXXX
- PAYGATE_RETURN_URL=XXXXXXXXXXXX
- PAYGATE_SUBS_RETURN_URL=XXXXXXXXXXXX
Usage
Vanilla PHP
``
A form with to submit the data to paygate will be generated.
Laravel
Assuming you have the necessary routes and views set up, here's an example of how to use the PayGate Payment Package in Laravel: ``
Make sure to replace 'your_paygate_id' and 'your_encryption_key' with your actual PayGate ID and encryption key.
Testing
To run the PHPUnit test cases for the package, use the following command:
vendor/bin/phpunit
License
This package is open-source software licensed under the MIT license.
Make sure to replace 'your_paygate_id'
and 'your_encryption_key'
with your actual PayGate ID and encryption key.
Feel free to customize the README further based on your package's specific features and usage instructions.
All versions of paygate-payment with dependencies
respect/validation Version ^2.2
guzzlehttp/guzzle Version ^7.7
nesbot/carbon Version ^2.68