PHP 5.3 and Depreciated Functions

Version PHP 5.3 has a number of functions that are depreciated and earlier versions of PHPeSeller, PHPSecureArea and PHPKeyCodes will display warning messages identifying those depreciated functions when installed on PHP 5.3.  It will still work as the functions are still there although they will be removed in PHP 6

To overcome this for earlier versions of the applications, in the error.php file just use

error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

This will stop the depreciated warning messages being displayed.

IPN History and selling digital downloads

PHP-eSeller when used with PayPal uses IPN to control the digital downloads to the customer.

If you log into PayPal you can check what IPNs have been sent out, you can check if your application has recieved and sent back a response (it should be respopnse code 200) and you can even resend an IPN.

These are available in your PayPal account under History -> IPN History.

Shipping and PayPal

There is a facility built into PHP-eSeller that allows you to set shipping for physical goods.  This allows you to set shipping according to the overall shopping cart value.  To use this you just activate it in the admin section of PHP-eSeller.  The calculations will be applied to the physical items only.

If you do not want to use this facility, you can use the PayPal shipping calculations.  In which case the shipping will again be based on the physical items and not the digital items.  You may prefer to use the PayPal shipping calculations depending on what you requirements are.

Sell digital downloads using Google Checkout

You can now use Google checkout as well as PayPal to sell your digital content with PHP-eSeller.

You need a Google checkout account which will identify your merchant codes.

Enter these into the admin area of PHP-eSeller and then select the tick box that enables Google checkout in the shopping cart. The shopping cart will then display both the PayPal and Google Checkout buttons.

Google checkout also has a sandbox test area which is easy to use and work with.

In someways Google checkout gives a better customer experience than PayPal.

Sell digital downloads with PayPal and Google Checkout

PHP-eSeller is a PHP / mySQL application that you install onto your web site and interacts with PayPal or Google Checkout to automatically sell digital files.  When the customer makes a purchase, the process of delivering the files is automatic and so provides a 24 /  7 solution.

Once PHP-eSeller is purchased, there are no additional fees for the application, except fees that you pay to PayPal and Google Checkout.  The purchase of PHP-eSeller is a one time purchase.

It can be used to see any type of digital download.  See

http://www.withinweb.com/phpeseller/usersites.php

which lists some of the sites that are using the application.

How to set up an external smtp service

This describes how to set up the SMTP email for use with PHP-eSeller, PHP-SecureArea, PHP-KeyCodes.

You may find that you web server is not sending out emails as well as you would like.  Shared web servers sometimes have issues with how quickly the email is sent out and the headers in the emails.

To use an external SMPT service all you have to do is change the config.php file.

If you look at the config.php file there are some settings near the bottom of the page which should explain it.

$smtpuse    =     false;                                     //set to true if you are going to use smtp
$smtphost    =    “smtp_server_host_here”;    //The smtp host that you are using
$smtpusername     =     “smtp_user_name_here”;        //Your smtp username
$smtppassword    =    “smtp_passord_here”;             //Your smtp password

You change the smtpuser to true and you need a host name, username and password for the SMTP service.

Update to csv import file for PHP-eSeller

The csv import script has been updated to include a fuller range of product item fields. This now covers more or less all the fields in the product item list.

The fields are :

item_number
item_name
mc_gross
item_title
item_description
item_description_full
maincategory
subcategory
folder
filename
filename_small_mp3
item_image
pagetitle
metadescription
keywords
sortorder

The new file a_csv_import.php can be obtained by emailing us and replaces the file in the admin section. The file is applicable to all versions of PHP-eSeller that has the import script.

Installing on Windows Web Server

PHP-eSeller and PHP-KeyCodes can both be installed on a Windows Web Server which runs PHP and has a mySQL database.  This is quite a common arrangement now, and many hosting companies provide this, enabling PHP applications to be installed on Windows Web Servers. 

Both of the applications work fine on Windows servers and normally work straight out of the box installation.

The only possible issue is sending emails.  Both applications need to send out emails from the server and this can be done by configuring PHP-eSeller and PHP-KeyCodes to use SMTP if the standard PHP email has not been set up.  This requires minor configuration changes to the config file which means entering the SMTP host, username, password.  All of these details should be available from your web site host if you donot know them.

You do not have to use the web server SMTP details, you can use an external SMTP mail service such as http://www.authsmtp.com.  Sometimes, these provide a better mail service than your host and may be more reliable.