Eh sada mi je bas potrebna vasa pomoc
Nadam se da nisam dosadan
Idite na stranicu ->
http://scripts4twitter.mobilecommz.com/twittreply.html
(sajt jos nije skroz live)
Kliknite na to (nestilizovano) buyNOW dugme kod je sledeci:
Citat:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="info@scripts4twiteer.com">
<input type="hidden" name="item_name" value="TweetAuto">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="amount" value="333.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="return" value="http://www.mybuisness.com/thankyou.html">
<input type="hidden" name="cancel_return" value="http://scripts4twitter.com/">
<input type="hidden" name="notify_url" value="http://scripts4twitter.com/paypall/paypal.php">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it’s fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
|
Klikom kupac biva redirektovan na papoal site sve regularno.
Sada ono sto meni treba je da kada kupac kupi prozivod u attachmenu maila bude mu poslata data skripta koju je pazario.
Za to koristim sledece vec gotovu skriptu sa
http://www.ngcoders.com. ->
http://scripts4twitter.mobilecommz.c...pall/check.php
U principu skript je jednostavan a izgleda ovako
Citat:
<?php
// URL of directory where script is stored ( include trailing slash )
$script_location = 'http://scripts4twitter.com/paypall/';
//URL of page from where script is called
$script_page = 'http://scripts4twitter.com/';
//URL of page Thank you page ( once payment is made , payee is sent to this page )
$script_thankyou = 'http://www.mybuisness.com/thankyou.html';
// Please change thing to anything random
$secret = 'DFJ#*#$NSD)Oc32j908u43jhh893';
// Various Emails
$paypal_email = 'info@scripts4twiteer.com'; // Paypal Email
$notify_email ='info@scripts4twiteer.com'; // Email which will recive notification
$download_email = 'scripts4twitter <info@scripts4twiteer.com>'; // Email from which the mail wil be sent
$currency = 'USD';
// How long will download link remain valid
$download_life = '24';
// Send File as attachment
$email_attachment = true;
// Success Email Messages
$email_subject = "Thank you for buying {product_name}";
$email_body = "Hello {first_name} {last_name}".
"\n\nThank you for buying {product_name}. Here is you download link - ".
"\n{product_link}".
"\nThis link will remain valid for $download_life hours.".
"\n\nRegards".
"\nYour Signature";
// Notification Email Message
$notify_subject = "Product Sale Notification for {product_name}";
$notify_body = "Hello Sir".
"\n\nThis mail is to notify you about the sale of {product_name} whos product id is {product_id}.".
"\nThe sale was made to {first_name} {last_name} ({payer_email}) at ".date('r',$time);
"\n\nRegards".
"\nYour Signature";
// product[number] = array('Name' ,'Price' , 'Download Link');
$products[1] = array('TweetAuto' ,'333.00' , 'downloads/TweetAuto.zip');
/**
* No need to modify these unless you know what ur doing
*/
$debug = false; // Enable if you want debug log
$debug_log = "digisell_debug.log";
$sandbox = false; // Enable sandbox testing
// Simple PHP Mail
$email_config['protocol'] = 'mail';
?>
|
Da li je iko koristio ovakav skript?Da li bi trebalo da sljaka sve to?