Jump to content

pureevil78

Members
  • Posts

    5
  • Joined

  • Last visited

pureevil78's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. There all pre-defined amounts.. i have this page that works with paypal but people are complaining about using euros and not there currency and also paypal charges and wanting too much personal info, im planning on trying to use, paypal, skrill, google wallet and also bitcoin if poss if ($payment_amount == 2){ $expires = get_date_time(gmtime() + (86400 * 2)); // 2Day $gigs = 2147483648; // 1 GB $points = 0; $invite = 1; }elseif ($payment_amount == 10){ $expires = get_date_time(gmtime() + (86400 * 28)); // 4 Weeks $points = 0; $gigs = 21474836480; // 20 GB $invite = 2; }elseif ($payment_amount == 20){ $points = 0; $expires = get_date_time(gmtime() + (86400 * 56)); // 8 Weeks $gigs = 53687091200; // 50 GB $invite = 3; /////////////////////////////////////// }elseif (($site_config["VIPSPECIAL25"] && $payment_amount == 25)) { $points = 0; $expires = get_date_time(gmtime() + (86400 * 196)); // 28 Weeks $gigs = 1073741824000; // 1000 GB - 1TB $invite = 10; $forever = 'yes'; $title = 'Lifetime VIP Member'; //////////////////////////////////////// }elseif ($payment_amount == 30){ $points = 0; $expires = get_date_time(gmtime() + (86400 * 84)); // 12 Weeks $gigs = 134217728000; // 125 GB $invite = 4; }elseif ($payment_amount == 40){ $points = 0; $expires = get_date_time(gmtime() + (86400 * 112)); // 16 Weeks $gigs = 268435456000; // 250 GB $invite = 5; }elseif ($payment_amount == 50){ $points = 0; $expires = get_date_time(gmtime() + (86400 * 196)); // 28 Weeks $gigs = 644245094400; // 600 GB $invite = 6; }elseif ($payment_amount == 100){ $points = 0; $expires = get_date_time(gmtime() + (86400 * 5475)); // One Years Time.... $gigs = 1073741824000; // 1000 GB - 1TB $invite = 10; $forever = 'yes'; $title = 'Lifetime VIP Member'; }
  2. yes mate thats it.. something like this.. SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, poster) VALUES(0, $id, $dt, $msg, 0)"); SQL_Query_exec("UPDATE `users` SET `title` = " . sqlesc($title) . ", `vipforever` = " . sqlesc($forever) . ", `donated` = `donated` + " . $p->ipn_data['mc_gross'] . ", `seedbonus` = `seedbonus` + $points, `invites` = `invites` + $invite, `uploaded` = `uploaded` + $gigs, `donor` = 'yes', `donoruntil` = $expirydate, `class` = $class WHERE `id` = " . $p->ipn_data['custom'] . ""); SQL_Query_exec("UPDATE `site_settings` SET `donations` = `donations` + '$payment_amount'"); write_log($row['username'] . " has donated " . $p->ipn_data['mc_gross'] . $p->ipn_data['mc_currency'] . $message .'');
  3. Im thinking of using blesta as a payment gateway but i would require it to take a username & userID take payment once its success full send the information to another database is this possible
  4. thanks for your fast response ill install the demo and take it from there..
  5. Hi there we are a webdesign company currently working on a theatre website. we require some kind of billing script to sell etickets and normal tickets can blesta be setup so the customers can buy tickets like this method.. select required show, i.e 1,2 or 3 then select the row they require A Through Q. then select the required seat.. so in all they have bought, show 1, row A, seat 4 Regards
×
×
  • Create New...