nattyman
06-16-2004, 12:51 PM
I have been trying to get this to work for about 2 days now. My config seems to be right but all it does it write to the action.txt log. No email is sent and no other log gets written to. If I call it on the command line or in the browser I get the ok, so it is running ok.
Here are my config options:
$email = "sales\@backyardleisureproducts.com";
$basepath = "/web/backyardleisureproducts.com/cgi-bin";
$sendmail = "/usr/sbin/sendmail";
$hold_subject = "Purchase On Hold";
$hold_message = "Paypal has contacted our server notifying that your purchase is pending. This usually happens when using an e-check or other payment method other than a credit card. Once your purchase is labeled complete, you will be emailed the software and/or further information.";
$file_locking = 1;
$message = "Here are your construction plans";
@prod = (
["My File","0.01","/web/backyardleisureproducts.com/my_file.zip","my_file.zip"],
);
---------------------------------------------------------------------
Here is what I am using in my button to call the script:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="john@backyardleisureproducts.com">
<input type="hidden" name="item_name" value="My File">
<input type="hidden" name="item_number" value="1000">
<input type="hidden" name="amount" value="0.01">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.backyardleisureproducts.com/cgi-bin/paypaltest.cgi">
<input type="hidden" name="cancel_return" value="http://www.backyardleisureproducts.com/cancel.htm">
<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="notify_url" value="http://www.backyardleisureproducts.com/cgi-bin/paypal.cgi">
<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!">
I am about ready to give up and try something else. Any help would be much appreciated.
Thanks
Here are my config options:
$email = "sales\@backyardleisureproducts.com";
$basepath = "/web/backyardleisureproducts.com/cgi-bin";
$sendmail = "/usr/sbin/sendmail";
$hold_subject = "Purchase On Hold";
$hold_message = "Paypal has contacted our server notifying that your purchase is pending. This usually happens when using an e-check or other payment method other than a credit card. Once your purchase is labeled complete, you will be emailed the software and/or further information.";
$file_locking = 1;
$message = "Here are your construction plans";
@prod = (
["My File","0.01","/web/backyardleisureproducts.com/my_file.zip","my_file.zip"],
);
---------------------------------------------------------------------
Here is what I am using in my button to call the script:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="john@backyardleisureproducts.com">
<input type="hidden" name="item_name" value="My File">
<input type="hidden" name="item_number" value="1000">
<input type="hidden" name="amount" value="0.01">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.backyardleisureproducts.com/cgi-bin/paypaltest.cgi">
<input type="hidden" name="cancel_return" value="http://www.backyardleisureproducts.com/cancel.htm">
<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="notify_url" value="http://www.backyardleisureproducts.com/cgi-bin/paypal.cgi">
<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!">
I am about ready to give up and try something else. Any help would be much appreciated.
Thanks