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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:12:08+00:00 2026-06-05T03:12:08+00:00

I’ve been at this for a bit now, and I have tried using google

  • 0

I’ve been at this for a bit now, and I have tried using google extensively.

I have my application set up: it is a HWID System available only to paid subscribers.

I want buyers to be able to click on a ‘buy now button’, and once they successfully pay it automatically adds their information into the database the app uses. This way there is no waiting after payments.

I know this is possible, because I’ve seen it done before – I just can’t seem to find how it works?

I would prefer this be done in php as well.

  • 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-05T03:12:10+00:00Added an answer on June 5, 2026 at 3:12 am

    Basically you will need to use the Paypal API’s –

    • PDT (Payment Data Transfer)
    • IPN (Instant Payment Notification)
    • Paypal code samples

    You specified that you don’t want any waiting to update records after payments. Depending on your plans you should be aware of the dangers of assuming payment has been processed (before it has).

    There are a number of ways someone could either trick your system into thinking they have paid using paypal (when actually their payment failed or they are trying to commit fraud).

    So if you just updated your records based on their return value after paying with paypal it could lead you open to problems. So I personally wouldn’t do the operations you specified unless I know the payment has gone through OK, and how do you do that?

    I would use paypal’s IPN (you could even combine this with PDT to get an early indicator / info for your user), so the steps:

    1. Get a paypal sandbox account for testing – From here
    2. Decide if you are going to use paypal’s PDT as well as IPN / just redirect page method
    3. Create your IPN code (available variables review these) – Take ideas from here – class for this can be found: https://github.com/Quixotix/PHP-PayPal-IPN
    4. Within your IPN code (once it has been validated and verified) you can then safety add the username / other things in the db that you wanted / email your user payment has been successful.

    On my testing you generally receive the IPN within a few seconds after payment (sometimes even before the user has been redirected. But for times where IPN takes longer to process you would need to keep your user updated with payment progress (you could use the PDT data for this) or just display a message on the redirect page from paypal.

    There is a lot to go through from paypal’s end, but if you take it step by step, it isn’t that painful.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
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,
I have just tried to save a simple *.rtf file with some websites and
I have this code to decode numeric html entities to the UTF8 equivalent character.
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have thousands of HTML files to process using Groovy/Java and I need to
I'm making a simple page using Google Maps API 3. My first. One marker
I have some data like this: 1 2 3 4 5 9 2 6

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.