A sample PHP Composer app that uses the YabaCon\Paystack composer package to perform a standard integration.
- cd to the folder:
cd /path/to/donate
- run composer install ... details on getting composer here > https://getcomposer.org/
composer install
-
change the
PAYSTACK_SECRET_KEY
in functions.php to your paystack secret key gotten from > https://dashboard.paystack.co/#/settings/developer -
open index.php in the browser and complete the transaction
- donate-init.php includes code that show how to initialize a transaction
- donate-conclude.php includes code that show how to verify a transaction
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.