An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Paystack Integration
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](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.