# Online Transactions and Updating DB

**URL:** <https://forum.kirupa.com/t/online-transactions-and-updating-db/227256>\
**Category:** programming\
**Created:** [May 28, 2007, 11:01pm UTC](https://forum.kirupa.com/t/online-transactions-and-updating-db/227256 "2007-05-28T23:01:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickcherryjiggz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nickcherryjiggz/32/2107_2.png) [@nickcherryjiggz](https://forum.kirupa.com/u/nickcherryjiggz)\
**Post date:** [May 28, 2007, 11:01pm UTC](https://forum.kirupa.com/t/online-transactions-and-updating-db/227256/1 "2007-05-28T23:01:51Z")

</div>

In the near future, I’m going to be making a small website for a tea shop, and they’ll be offering 50-100 items available for purchase online. I’ll have to take care of the transactions, but also update inventory and whatnot in a database (MySQL). After I thought about this for a while, I was a little confused as to how to go about doing this. If I use PayPal or something similar (I don’t have experience with any of them), doesn’t it typically take the user out of the site? And if it does, how would I go about making adjustments to the database, since it would need to go through PayPal before knowing if the adjustment should be made?
