Django form for taking payments


I wanted to know if there is a Django form that can handle payments securely?

I would like users to enter competitions on the site but would only have access to the next page if a payment was successful.

To be clear, I don’t want to ask/store any payment details in my DB but more provide a link to Paypal (or similar) and once payment has gone through, redirect to the newly accessible pages.

Any suggestions?



This post shows how to accept payments with Stripe.
Then you could redirect the user who paid to certain views based on some condition.

1 Like is a good resource for finding available packages you can install. If you don’t want to install an unknown package, you can read the code to see what they’re doing and possibly use it as an example toward building your own solution.

There’s a whole grid available for Payment Processing.


1 Like