Skip to content

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.

Notifications You must be signed in to change notification settings

Maithy-a/paystack-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paystack Integration

MIT License
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
    
  4. Run the Server: Execute python api\app.py.
  5. Access the App: Open http://localhost:5000 in a browser.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published