https://github.com/maithy-a/paystack-demo
A demo web app integrating Paystack in test mode, built with Flask (Python), JavaScript & HTML. Simulates secure payment transactions for developers learning payment integration, using best practices with .env for secrets.
https://github.com/maithy-a/paystack-demo
payment-gateway payment-integration payments paystack python vercel-serverless
Last synced: 6 months ago
JSON representation
A demo web app integrating Paystack in test mode, built with Flask (Python), JavaScript & HTML. Simulates secure payment transactions for developers learning payment integration, using best practices with .env for secrets.
- Host: GitHub
- URL: https://github.com/maithy-a/paystack-demo
- Owner: Maithy-a
- Created: 2025-03-18T23:27:50.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-05-07T18:20:58.000Z (9 months ago)
- Last Synced: 2025-05-07T19:29:02.071Z (9 months ago)
- Topics: payment-gateway, payment-integration, payments, paystack, python, vercel-serverless
- Language: JavaScript
- Homepage: https://bm-paystack.vercel.app/
- Size: 170 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Paystack Integration
[](https://choosealicense.com/licenses/mit/)
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.
## Features
- Demonstrates Paystack payment integration in test mode.
- Supports KES (Kenyan Shilling) as the currency.
## Setup Instructions
1. Install dependencies using `pip install -r requirements.txt`.
2. Obtain Paystack test API keys from the Paystack Dashboard.
3. 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
```
5. **Run the Server**: Execute `python api\app.py`.
6. **Access the App**: Open `http://localhost:5000` in a browser.