Skip to content

Built with Django, Flutterwave and SQLite. This is An online store with online payment and webhook feauture built with Django

Notifications You must be signed in to change notification settings

dipo0x/Ecommerce-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce-website

This is an online store where you can purchase product. I also integrated online payment with it and yes! It has webhook. I didn't really use the webhook as the API server I use automatically sends mail to customers for each successful transaction

Installation

All you have to do is to install Django(hoping you have python installed already) and ngrok(to test your webhook)

Usage

Firstly, startup your ngrok server. If you dont't know how to do so, head over to https://ngrok.com/download for proper tutorial. After yve gotten your tunnel link, head on to your flutterwave dashboard and insert it to your Webhook under your settingsScreenshot 2021-10-14 at 8 12 44 AM

After that, insert the link into your ALLOWED_HOST in your settings.py file and your orders app views.py redirect_url above the flutterwave endpoint for your charges transaction. Also go back to your flutterwave dashboard and copy your test api secret key and put it in your orders app .env file.

Webhook

Since yve all this up and running, after all your successful transaction, your webhook will be printed as long as your ngrok server is up and running Screenshot 2021-10-14 at 8 17 16 AM

About

Built with Django, Flutterwave and SQLite. This is An online store with online payment and webhook feauture built with Django

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published