How to install BNC Paypal IPN



Under most circumstances installing BNC scripts is a very simple process and takes less than five minutes to complete. As you know the installation of every script is free of charge. However, if you wish to install BNC Paypal IPN yourself, the following guide will help.

Here’’s the quick version of the instructions

  1. Download and unzip the BNC package, if you haven”t already. You will receive the download link via email.
  2. Make a folder on your server with the name “paypal”
  3. Upload the files from the unzipped package to “paypal” folder
  4. Inside “paypal” folder make a new folder ( with a secret name ) eg. “myfiles009″ – in this folder upload your products
  5. Open settings.php with your favourite editor
  6. Now you can put your products in settings.php
    This is the structure: product[number] = array(”Name” ,”Price” , ”Download Link”);
    This should be for your first product : $products[1] = array(”My ebook”,”5.99”,”http://yourwebsite.com/paypal/myfiles009/myebook.pdf”);
    This should be for your second product : $products[2] = array(”My program”,”6.99”,”http://yourwebsite.com/paypal/myfiles009/myprogram.zip”);
    and so on…
  7. Write down the values for your notification email ,the download email , the currency, how many hours the download link will be available and the path of your paypal folder ( http://yourwebsite.com/paypal/ )

The paypal form

  1. Open index.html with your favourite editor to see the sample form
  2. Replace paypal@example.com with your paypal email
  3. This is the code for your first product
  4. <input name=”item_name_1” type=”hidden” value=”My ebook” />
    <input name=”item_number_1” type=”hidden” value=”1” />
    <input name=”amount_1” type=”hidden” value=”5.99″ />
    <input name=”quantity_1” type=”hidden” value=”1″ /></li>
  5. This is the code for your second product
  6. <input type=”hidden” name=”item_name_2” value=”My program”>
    <input type=”hidden” name=”item_number_2” value=”2“>
    <input type=”hidden” name=”amount_2” value=”6.99″>
    <input type=”hidden” name=”quantity_2” value=”1″>
  7. Replace <input type=”hidden” name=”notify_url” value=”http://example.com/paypal.php”> with your own url . In our case <input type=”hidden” name=”notify_url” value=”http://yourwebsite.com/paypal/paypal.php”>
  8. Also replace http://example.com/thank-you.html with your thank you page

That’s it!

You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.

 

© 2006 - 2009 BNCScripts.com . All right reserved.