Paystack Lite Demo
A demo application to illustrate how paystack-lite works.
For live demo visit paystack-lite-demo.herokuapp.com
Clone the repo locally:
git clone https://github.com/stephenjude/paystack-lite-demo.git paystack-lite-demo
cd paystack-lite-demo
Install PHP dependencies:
composer install
Setup configuration:
cp .env.example .env
Open your .env file and add your test keys, customer default email and paystack url:
PAYSTACK_PUBLIC_KEY=xxxxxxxxxxxxx
PAYSTACK_SECRET_KEY=xxxxxxxxxxxxx
PAYSTACK_PAYMENT_URL=https://api.paystack.co
PAYSTACK_CUSTOMER_DEFAULT_EMAIL=general@email.com
Generate application key:
php artisan key:generate
You're ready to go! Visit Paystack Lite Demo in your browser