This documentation provides an overview of the Paystack Demo web application, which demonstrates Paystack payment integration in test mode. It includes setup instructions, testing guidelines, and notes for real implementation.
- Demonstrates Paystack payment integration in test mode.
- Supports KES (Kenyan Shilling) as the currency.
- Install dependencies using
pip install -r requirements.txt
. - Obtain Paystack test API keys from the Paystack Dashboard.
- Create a
.env
file to store API keys securely. Add the following and replace values:PAYSTACK_PUBLIC_KEY=pk_test_your_public_key_here PAYSTACK_SECRET_KEY=sk_test_your_secret_key_here
- Run the Server: Execute
python api\app.py
. - Access the App: Open
http://localhost:5000
in a browser.