value; } if($_GET['action']=="ipn234sdfkn50039588855423421") { // It's important to remember that paypal calling this script. There // is no output here. This is where you validate the IPN data and if it's // valid, update your database to signify that the user has payed. If // you try and use an echo or printf function here it's not going to do you // a bit of good. This is on the "backend". That is why, by default, the // class logs all IPN data to a text file. if ($p->validate_ipn()) { $customfield = $_POST['custom']; $explode = explode('|', $customfield); $acctype = $explode[0]; $email = $explode[1]; $full_name = $explode[2]; $date = time(); $txn_id = $p->ipn_data['txn_id']; $receiver_email = $p->ipn_data['receiver_email']; $amount = $p->ipn_data['mc_gross']; $currency = $p->ipn_data['mc_currency']; if($acctype=="Pro") { $payment = getipn_val("ot_pro"); } else { $payment = getipn_val("ot_basic"); } $min = $payment-0.01; if($amount>$min) { if($txn_id!="") { $headers = 'From: tellyaddersupport@gmail.com' . "\r\n" . 'Reply-To: tellyaddersupport@gmail.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $emailmessage = str_replace('#item_name', $full_name, getipn_val('email_message')); $emailmessage = str_replace('#txn_id', $txn_id, $emailmessage); mail($email, getipn_val('email_subject'), $emailmessage, $headers); $payer_email = $p->ipn_data['payer_email']; if($payer_email!=$email) { mail($payer_email, getipn_val('email_subject'), $emailmessage, $headers); } // $sql = "INSERT INTO `awinter_adder`.`purchases` ( `purchaseid` , `item_name` , `item_number` , `payment_status` , `payment_amount` , `payment_monthly_amount` , `payment_currency` , `txn_id` , `receiver_email` , `payer_email` , `date` , `registrations` , `type` , `onoff` ) VALUES ( NULL , '$full_name', '011', 'Completed', '$payment', 'N/A', '$currency', '$txn_id', '$receiver_email', '$email', '$date', '0', '$acctype', 'On' );"; mysql_query($sql); } } else { if($p->ipn_data['txn_type']=="subscr_cancel") { //CANCELLED!! $explode = explode('|', $p->ipn_data['custom']); $payer_email = $explode[1]; $sqlcancel = "UPDATE purchases SET onoff='Off' WHERE payer_email='$payer_email' ORDER BY purchaseid DESC LIMIT 1"; mysql_query($sqlcancel); exit(); } if($acctype=="Pro") { $monthly_amount = getipn_val("pro_price"); } else { $monthly_amount = getipn_val("basic_price"); } //may need tamper proofing... //CHANGE ACCOUNT TYPE OR INSERT ACCOUNT HERE //user $acctype and $email to change db. can add more into custom input //check hasnt run before if($txn_id!="") { $headers = 'From: tellyaddersupport@gmail.com' . "\r\n" . 'Reply-To: tellyaddersupport@gmail.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $emailmessage = str_replace('#item_name', $full_name, getipn_val('email_message')); $emailmessage = str_replace('#txn_id', $txn_id, $emailmessage); mail($email, getipn_val('email_subject'), $emailmessage, $headers); $payer_email = $p->ipn_data['payer_email']; if($payer_email!=$email) { mail($payer_email, getipn_val('email_subject'), $emailmessage, $headers); } // $sql = "INSERT INTO `awinter_adder`.`purchases` ( `purchaseid` , `item_name` , `item_number` , `payment_status` , `payment_amount` , `payment_monthly_amount` , `payment_currency` , `txn_id` , `receiver_email` , `payer_email` , `date` , `registrations` , `type` , `onoff` ) VALUES ( NULL , '$full_name', '011', 'Completed', '$amount', '$monthly_amount', '$currency', '$txn_id', '$receiver_email', '$email', '$date', '0', '$acctype', 'On' );"; mysql_query($sql); } // } } exit(); } if($_POST['process']==1) { if($_POST['agree']!=1) { exit("Please accept the terms and conditions"); } if($_POST['fullname']=="") { exit("Please complete all of the fields"); } $acctype = mysql_escape_string($_POST['acctype']); if($_POST['paymenttype']=="once") { if($acctype=="Pro") { $payment = getipn_val("ot_pro"); } else { $payment = getipn_val("ot_basic"); } $p->add_field('business', $paypal_business); $p->add_field('return', $success_script); $p->add_field('cancel_return', $cancel_script); $p->add_field('notify_url', $this_script.'?action=ipn234sdfkn50039588855423421'); $p->add_field('item_name', 'Tellyadder payment service'); $p->add_field('cmd', '_xclick'); $p->add_field('rm', '2'); $p->add_field('amount', $payment); $p->add_field('no_shipping', '1'); $p->add_field('no_note', '1'); $p->add_field('custom', $acctype."|".mysql_escape_string($_POST['email'])."|".mysql_escape_string($_POST['fullname'])); $p->submit_paypal_post(); } else { $initial_price = getipn_val("initial_price"); if($acctype=="Pro") { $reg_payment = getipn_val("pro_price"); } else { $reg_payment = getipn_val("basic_price"); } if(!eregi('.', $reg_payment)) { $reg_payment = $regpayment.".00"; } if(!eregi('.', $initial_price)) { $initial_price = $initial_price.".00"; } $p->add_field('business', $paypal_business); $p->add_field('return', $success_script); $p->add_field('cancel_return', $cancel_script); $p->add_field('notify_url', $this_script.'?action=ipn234sdfkn50039588855423421'); $p->add_field('item_name', 'Tellyadder subscription service'); $p->add_field('cmd', '_xclick-subscriptions'); $p->add_field('a3', $reg_payment); $p->add_field('p3', '1'); $p->add_field('t3', 'M'); $p->add_field('no_shipping', '1'); $trial_price = $initial_price+$reg_payment; $p->add_field('a1', $trial_price); $p->add_field('p1', '1'); $p->add_field('t1', 'M'); $p->add_field('src', '1'); $p->add_field('rm', '2'); $p->add_field('no_note', '1'); $p->add_field('custom', $acctype."|".mysql_escape_string($_POST['email'])."|".mysql_escape_string($_POST['fullname'])); $p->submit_paypal_post(); } exit(); } $basic_price=getipn_val("basic_price"); $initial_price=getipn_val("initial_price"); $pro_price=getipn_val("pro_price"); $ot_basic_price = getipn_val("ot_basic"); $ot_pro_price = getipn_val("ot_pro"); $total_price = $initial_price+$basic_price; $explode = explode('.', $total_price); if(strlen($explode[1])<2) { $total_price.=".00"; } ?> TellyAdder - World's Most Popular YouTube Bot and Friend Adder - Purchase

TellyAdder.com Has Closed It's Doors.

Unfortunately TellyAdder is no longer being updated or supported. It has been an interesting and fun two years but it's time we move on.....


Alternative to TellyAdder:

Don't give up so fast! There is one other option...
We strongly suggest you check out www.tubetoolbox.com. This all-in-one YouTube account management and automation software is the next best thing to what TellyAdder once was. Tube Toolbox is free to try and still being fully updated/supported! A promo code for Tube Toolbox is available for anyone who already owns a TellyAdder license. Contact us for more info.


Regards,
TellyAdder Team.

TellyAdder is no longer available for purchase. Please try the next best alternative, Tube Toolbox.

Purchase TellyAdder.

Have a question or concern before you purchase? Contact us!

Full Name:
E-Mail Address:
Payment plan?
Basic or Pro?