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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:03:28+00:00 2026-05-22T22:03:28+00:00

I know Java, but am no expert. I use JSP pages and Java Servlets

  • 0

I know Java, but am no expert. I use JSP pages and Java Servlets for my site, with a Mysql database.

For a site that is selling products, I want to use Paypal payment buttons. Specifically the “Add to Cart” and “View Cart” buttons so the site can have a shopping cart feel.

I want to keep track of inventory, so when a purchase is made, meaning the payment has actually been submitted through Paypal and was successful, the database is then updated for each item purchased. I don’t want to accept payment(s) for an item that is no longer available. So inventory tracking in this case is important.

Is it possible to interact somehow with Paypal and accomplish this task? I need some advice on how to do this.

  • 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-22T22:03:29+00:00Added an answer on May 22, 2026 at 10:03 pm

    Yes, you can use IPN (instant payment notification).

    Everything you need is here https://www.paypal.com/ipn with examples.
    Just simply update the inventory after the purchase is made and if it is down to zero, disable the payment button. The problem is very straightforward and all you have to do is go over the IPN documentation.

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

Sidebar

Related Questions

So I'm far from an expert on C, but something's been bugging me about
I know the short answer is You told it to. But of course, I'm
I'm in the process of migrating some of our old code into Java and
Scenerio: I'd like to run commands on remote machines from a Java program over
I've been reading through some of the documentation on Paypal's site regarding the Website
Is there any way to know how many seconds does it take a loop
Im trying to run launch4j as a build task on macosx but im getting
Apologies if the Topic title isn't accurate, I didn't really know how to express
I am thinking about build a online store for my wife to sale something.
I find the nature of this question to be quite suited for the practical-minded

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.