Jump to content

PayPal Integration: Deleting items from a database after payment confirmation?:)


Transmission94

Recommended Posts

Hi there!

 

I am new to all of this, but I'm not sure if that has anything to do with it in this case, haha.

 

Basically, I am using PayPal for the shopping cart and payment functionality on a website I am making to sell goods. The products I am selling only come in very limited quantities, so I need to have products that have been payed for immediately removed from the database (mySQL).

 

However, as far as I can tell there is no way to get confirmation back from the PayPal website when an item has indeed been paid for. Thus, I have no way to know whether items should yet be removed from the database (I can't just set a product to be deleted when someone simply adds it to their cart, as it is not guaranteed that they will buy it.)

 

Does anyone know of any way round this? I do need the payments to all be made through paypal.

 

 

Any help would be very much appreciated. I know I have asked questions before and people have been more than happy to throw their 2c in, and that is fantastic!

 

Thanks in advance,

 

 

 

Transmission94

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.