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 8943497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:47:08+00:00 2026-06-15T11:47:08+00:00

I have a jquery mobile app that uses ajax to make calls to my

  • 0

I have a jquery mobile app that uses ajax to make calls to my asp.net web methods written in C#. These methods query a SQL Server database and return data. At this point no user registration is necessary. I also have some facebook integration using the javascript sdk, in terms of likes, comments, and posting to a user’s wall/timeline.

The next step in my development is that the user will be able to pay a fee to essentially get data entered into my database. I would like to avoid getting into user/password management, and instead rely on a facebook login (and later maybe other social networks, for now let’s stick with facebook).

So the workflow that I see is:

  1. I prompt the user to login to facebook if not logged in already
  2. user clicks ‘buy’ on my website, which is a paypal button
  3. user gets sent to a secure paypal page, makes the payment, and is returned to my site
  4. with a successful payment, I call a web method to insert the new data, which is marked as being entered by this facebook user. The web method will connect with the same sql server account that does all the fetching, there will not be sql server user accounts for individual visitors.

I see some interesting security holes here. Like someone writing code to directly call my insert web method, without having made any payments. I’m looking for guidance on how to tie all these steps together in a secure way so that in the end, I am guaranteed that any data that is entered was
a) paid for
and b) entered by the currently logged in facebook user

I have read the facebook login developer docs, the paypal developer docs, and the microsoft asp.net application services docs. I can mostly understand each one, but I am getting lost tying them all together in a single, secure transaction. Any tips would be much appreciated!

Thanks 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-15T11:47:09+00:00Added an answer on June 15, 2026 at 11:47 am

    what you need to do is – in your insert web method, verify that a payment has been made by the user. You can do that in couple of ways. Use the PayPal IPN (Instant Payment Notification) to confirm the payment or switch over to the PayPal Express Checkout API so you can verify the payment programmatically after the user is redirected back to your site. Here is a quick how-to guide that would help you implement this: https://www.x.com/developers/paypal/documentation-tools/express-checkout/how-to/ht_ec-singleItemPayment-curl-etc

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

Sidebar

Related Questions

I have a jQuery Mobile app, that loads pages in via ajax eg page1.html,
I have an MVC4 web app that needs 12 jQuery Mobile pages. Welcome Login
I have an asp.net mvc 4 with jquery-mobile app. On one page (url: /StatementBatch
In a rails 3.0 app that uses jquery mobile for mobile devices I have
I have simple jQuery Mobile site created using asp.net mvc 2 and uses basic
I have a Cordova app that runs the jQuery mobile framework and loads pages
I have a jquery mobile web app. On my iPhone when I am on
Am building a mobile web app with jquery mobile, backbone, and require.js to make
We have an existing web app built with jQuery Mobile. Our goal is to
I have a jQuery Mobile web app which targets iOS and Android devices. A

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.