MyBB Community Forums

Full Version: Simple PayPal Store
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone.

I got this working a while ago, I just never got round to releasing it. It's nothing crazy, just a simple Store page to allow forum admins to add products using paypal buttons. When I've got free time, I'll get around to adding in PayPal IPN and whatnot. 

Not much else to say really. It's open source, feel free to leave any suggestions, I know it's not perfect. 

https://github.com/Flinty916/mybb_paypalShop

Cheers!
Flinty
Hi Will there be any updates to this project as It seems something I would like added to my forum.
Hi,

querys with GETs inside?:
$db->write_query("DELETE FROM " . TABLE_PREFIX . "paypal WHERE productID = " .$_GET['delete']);
$check = $db->write_query("SELECT COUNT(*) FROM " . TABLE_PREFIX . "paypal WHERE productID = " .$_GET['delete']);


POST variables without cleaning?:
 $productPrice = $_POST['productPrice'];

I'm not a security expert, but it seems very dangerous for me....
realy, thats at least sounds strange to all of us
Please note that this isn't uploaded to the Extend site, and it probably won't be accepted if something like this was caught.