Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3801954
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:07:53+00:00 2026-05-19T14:07:53+00:00

I would like to hear you opinion on how to make secure buttons with

  • 0

I would like to hear you opinion on how to make secure buttons with django-paypal. I do have a subscription based website an, if possible, I do not want to use the encrypted buttons that django-paypal supports.

Furthermore I don’t think that it is possible to use the protected payment buttons that paypal provides (the ones where you do not send the ammount, period,… via your button but have this information saved on the paypal side.)

So the only other alternative I can think of, is to use the IPN information that paypal sends and compare it to my payment plans (which actually looks quite secure to me). Is this right, or is there another alternative?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T14:07:54+00:00Added an answer on May 19, 2026 at 2:07 pm

    Your idea is fine and will work. You can use some sanity checks on the IPN when it comes in.

    def handle_ipn(sender, **kwargs):
        ipn_obj = sender
        gross = str(ipn_obj.mc_gross)
        currency = str(ipn_obj.mc_currency)
    
        if ipn_obj.item_name == 'myproduct' and
           ipn_obj.custom == 'mycustom' and
           currency == 'USD' and gross == '99.00':
    
           # Do stuff here...
    

    This will work well enough in simple cases, but where you have multiple prices, products, currencies or vouchers it gets more fiddly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to hear what web UI testing tools you have found to
Would like to make anapplication in Java that will not automatically parse parameters used
I am writing some development management tools in C# and would like to hear
Hear is my code. I would like to get picture with api php facebook.
I would like to hear opinions on below code snippet. Is there anything that
I would like to hear some opinions on window strategy creation with MVC. I'm
I would like to get some opinion about best practice in iOS5 and higher
I would like to write simple Java downloader for my backup website. What is
I have to make a chatroom like this one : The message displayed also
If it's possible, I would like a general explanation of how I should go

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.