This script will send your e-products as email attachments to buyers upon successful PayPal Buy Now Button transaction. The script can check product information to reject e-thieves who try to get unauthorized "discounts" with bogus Buy Now buttons.
The script includes a built-in Checkout simulator that allows you to test the delivery feature without accessing PayPal.
The script can email a transaction log to the administrator on IPN handler error and/or on every run of IPN handler. It can also log transactions on the server side. No databases are used. Designed to reduce the amount of test time and maintenance efforts of e-product delivery.
I have been successfully using v1.03. It's a very good system, easy to install and simple to use - Do you have a changelog? Is there any point in upgrading from v1.03 to 1.06? - Would it be easy to ... Read More
I am having my website graphicarta .com for selling my images in four category how i use this script for Paypal automatic download. Please watch website and give download method for each category. ... Read More
Thank you Tom for the reply. Basically if the simulator works locally, when you go live it should provide the customer with the same result back on the site which would show the details of the ... Read More
Locally the script works great and get success. However when testing with PayPal sandbox it does not send back to site or I get error about buyer and or seller. I entered the correct email ... Read More
I just needed something simple to sell my documents, this was exactly what I needed. I like your approach to scripting. Simple, Functional, ergonomic, user friendly and a common sense approach to ... Read More
OK, this could be the PHP version issue. I'm aware that this error message appears on certain php installations but I haven't collected enough information to give you a general solution to solve it. ... Read More
good gracious, tom you make my tommy go yummi yummi and when i think of the good code your website gives to my surfing journey you make me go falling like a falling body. hmmmmmmnnnn.. such a great ... Read More
Like "HTTP Error 408", the error is too weird. I think there is something wrong outside of the script. I can't say what it is without looking into it, though. I don't think you can fix it just by ... Read More
Download links for all the scripts fail with this error --- Parse error: syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/phpkobo/public_html/oosite/sys/CDownload.class.php on line 509 ... Read More
I solved the two previous problems a) commenting on web / sim / include / CCheckoutSimulator.inc.php and comment out line 110 to suppress the error message b) on altervista.org I set the "connect ... Read More
The error message means that the IPN handler didn't return anything. It could be due to a wrong path to the checkout simulator. Did you move the simulator folder? If you move it, you need to update ... Read More
Hello Tom. Re: Paypal IPN?eproduct delivery script. I'm a novice to this kind of script work but am seriously keen to get this working as it could just be the answer that I'm looking for. HOWEVER, I ... Read More
OK, I've been trying to come up with a method to figure out the cause indirectly but there doesn't seem to be a simple way. If you are interested in letting me debug it on your site, let me know. my ... Read More
Yes, I checked your pic. You want to erase your email and put a logo, right? I may be repeating myself but they have nothing to do to with the script. So i gave you a link to the information you are ... Read More
?.. in the step 8 ? >> First, create a product ID ( or item_number in PayPal terminology ) for your new e-product. << need i make that in the paypal account? where can i make that ID or item_number ... Read More
Hello Tom :) Me again... something is not so clear... in the paypal terminology.. is that the Create an Invoice? because i have one done but the status is in Draft? so is that the right way.? Best. ... Read More
Hello Tom. Thanks much for your Answer. but, my e-mail adress from the paypal is gmail. > SIM_SELLER_EMAIL is an email address that you registered to PayPal. so need i change the e-mail adress from ... Read More
I got a couple of reports that the script did not work with gmail. So just avoid gmail and use other email servers.
Saturday, June 8, 2013
e-Product Delivery Script: How to send plane text emails only
By default, e-Product Delivery Script will send buyers HTML emails as well as plane text emails.
If you want to force the script to send plane text emails only, you can remove the HTML section from product configuration files, or better disable it. You can disable HTML section by adding an underscore ( or any characters ) at the beginning of it like "_Html."
This upgrade is for advanced users who want to set up "virtual products" in e-Product Delivery Script.
So, what are "virtual products"?
Consider the following. You have 1000 products whose product configurations (e.g. "item_name", "amount", etc )
are exactly the same except, say, the file attachment.
The standard way to set up 1000 products is to create 1000 product folders and set up a product configuration file for each product.
As you can guess, it's really time comsuming and very hard to maintain. That's definitly the last thing you want to do.
Instead of creating 1000 product folders, you can set up one folder and modify the configurations on the fly.
That way, you can deliver all the products without setting up product folders for each of them.
Now, we need to take a look at the code where the script obtains product configurations.
Open web/ipn/sublcass/CProductInfo.inc.php in a text editor and
find the following php function:
function getProductInfo( $item_number, &$pi )
if ( !parent::getProductInfo( $item_number, $pi ) )
//-- [BEGIN] Modify the contents of $pi (ProductInfo)
// Write your code here
//-- [END] Modify the contents of $pi (ProductInfo)
The getProductInfo function is called when the script needs to get
the configurations of a product specified by $item_number, which is a product ID in PayPal terminology.
The function will pack the product configurations (e.g. "item_name", "amount", etc ) into the $pi array and
returns true if successful, or false otherwise.
The default implementation is that it calls parent::getProductInfo,
which loads config.txt into $pi.
parent::getProductInfo works only on products that have physical product folders on the web site.
To return configurations for virtual products, which don't have any physical product folders,
we need to modify a few lines of code there.
Before we proceed, let's make sure the specification of the modification.
The only product-001 has a physical product folder and it's config.txt is properly set up. There are no physcial folders for other products.
All the attachments for the products are stored in the "C:/MyAttachments/" folder. The filename of an attachment is the item_number followed by ".zip" For example, the attachment for "product-999" is "product-999.zip."
Similarly, you can replace other items in config.txt with anything you want.
Here is the list of items you can read and write:
Lastly, I want to point out that getProductInfo is the best place to modify
if you want to load the product configurations from other sources like a database.
If you want to load all the product configurations from the database instead of the product folders,
you can get rid of parent::getProductInfo because it's for loading
configurations from physical product folders.
Thursday, December 20, 2012
e-Product Delivery Script v1.03 Update
"e-Product Delivery Script" was updated to v1.03. I added a description
regarding enabling SMTP Authentication to web/config/config.email.inc.php
Also, cleaned up line-endings of each file for Windows users.