Skip to content

appazur/django_stripe_payment_form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stripe Payment Form for Django Projects

This Stripe Payment Form demo project includes a reusable app for adding a simple payment form to your Django projects. Most Stripe Checkout documentation assumes you are going to attempt something more ambitious, with Products, Customers, webhooks, etc. This project, on the other hand, is just a simple form that allows the user to enter an invoice number and payment amount, and then proceed to make a credit or debit card payment. It is intended to support developers who want to transition to Stripe from e.g. PayPal Payments Standard.

simple-stripe-payments

While both PayPal and Stripe Checkout have a publishable key that is exposed in client-side JavaScript, Stripe also requires the use of a secret key that should only be used on the server.

To try out the demo included in this project:

  • Set up a Stripe account and obtain the Publishable Key and the Secret Key.
  • Create a local_settings.py file for your STRIPE_API_KEY (Secret Key) and STRIPE_PUBLIC_KEY (Publishable Key) settings.
  • pip install requirements.txt
  • python manage.py runserver

You can also include the app in your own project.


Stripe vs PayPal


appazur.com

Sponsored by Appazur Solutions Inc. - Mobile Apps and Digital Signage for Education

About

A Django app for adding a simple credit/debit card payment form to your project using Stripe Checkout.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published