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

  • SEARCH
  • Home
  • 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 7840607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:50:39+00:00 2026-06-02T15:50:39+00:00

I’m using PayPal’s Website Payment Standard in my ASP.NET website. What I do is

  • 0

I’m using PayPal’s Website Payment Standard in my ASP.NET website.

What I do is when the user clicks on the “Pay Now” button, I do the following in the codebhind:

  1. DB status changes
  2. Generation of the PayPal form, hidden fields for the items
  3. Call ScriptManager.RegisterClientScriptBlock() to call the javascript function that submits the PayPal form to PayPal.

I’m worried that the user can press stop on the web browser and then edit the values in the hidden forms and then submit the form. Is there a way to prevent this? Or a better alternative?

Thank you so much in advance!

  • 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-06-02T15:50:41+00:00Added an answer on June 2, 2026 at 3:50 pm

    I haven’t done PP Standard. I’ve used Gateway and Pro/Express Checkout but its been quite a while – still, your question can be handled in a more “generic” way…

    Unfortunately your plan will not do anything to protect you – just like any other HTML Form on the web, HTTP requests and responses can be inspected and tampered with using readily available tools.

    The common way to prevent tampering is to do server-side validation of submitted values coming from any client/browser (the rule of thumb is “trust no one”). In your scenario, you are doing things on the server side, but that’s still prior to the actual submission target of the data – which is PayPal. The step that actually sends the data to the “target” is still the browser/client – and there lies the issue so to speak. The data to be validated is meant for a system other than yours (so you can’t validate for PayPal).

    Unless there is an added layer of security, e.g. signature or encryption, it will always be vulnerable to tampering (viewing is a foregone matter, it can be viewed).

    I don’t believe (but I could be wrong) PP Standard has a server-to-server option for POSTing data. This would effectively “hide” the data altogether from the client/browser – nothing to see, nothing to tamper with. Data transfer is in the background – client/browser knows nothing of it.

    However, their PayPal Payments Standard and Button Manager API seems to be the right/secure way of doing this.

    In essence you will be creating what they call “encrypted buttons” on the fly. This way the data will look like gibberish to anyone inspecting it – it will only make sense to PayPal because they can decrypt the data accordingly. That’s how the data is secured/protected from tampering (not viewing – but again, what can be seen is gibberish)…

    Hth…

    Update:

    Also, you should consider PayPal IPN for storing data. You are making the assumption above (I think) that everyone who clicks the button will actually go through with the payment (or can pay successfully). With IPN, you will “listen” for data coming from PayPal only after successful payment (which is where you should store order related data and/or inventory updates, etc.) ….

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

Sidebar

Related Questions

I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I used javascript for loading a picture on my website depending on which small
I have a jquery bug and I've been looking for hours now, I can't
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
We're building an app, our first using Rails 3, and we're having to build

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.