View Full Version : Having paypal work with ucash
madkidz
07-12-2005, 03:06 PM
I have seen it on other message boards, that you can have members buy points through paypal. DOes anyone know where I can get that hack to install on my board.
tscbh
07-12-2005, 04:45 PM
you can manually edit forum/subscriptions/paypal.php, at about line 103 find:
// Check if its a payment or if its a reversal
if ($_POST['txn_type'] == 'web_accept' AND $_POST['payment_status'] == 'Completed' OR $_POST['txn_type'] == 'subscr_payment' AND $_POST['payment_status'] == 'Completed')
{
if ($_POST['mc_gross'] == $cost[strtolower($_POST['mc_currency'])])
{
build_user_subscription($subscriptionid, $userid['userid']);
add after your desire function();
Just a few sql update statements
You can purchase the official addon at www.geekydesigns.com ..
*edit* @ tsbch: That doesn't add it to the shop as a purchasable option tho, now does it?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.