Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.43 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.43 KB

Request Payment (Code at Yabacon/Laravel-Paystack-Sample)

A sample Laravel app that uses the Mabiola\Paystack-PHP-Lib to send payment requests (entreaties) to customers.

To run the sample

  1. cd to the folder:
cd /path/to/request-payment
  1. run composer install ... details on getting composer here > https://getcomposer.org/
$ composer install
  1. Edit .env providing your PAYSTACK_SECRET_KEY, database connection config and email sending config. Your paystack secret key can be gotten from > https://dashboard.paystack.co/#/settings/developer

  2. On https://dashboard.paystack.co/#/settings/developer set the callback url to the url to http://localhost:8080/paystack-callback

  3. Perform migrations then start the development server.

$ php artisan migrate
$ php artisan serve --port=8080
  1. Open http://localhost:8080 in the browser

Files

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.