PHP-SecureArea can use buy now type buttons

Normally with PHP-SecureArea you use PayPal subscription facilities which control access to your secure area.  So when the subscription expires the access to the secure area ends.

One issue with this is that the customer has to have a PayPal account rather than purchasing through a credit / debit card.  This is because it is PayPal that controls the subscription process.

It is now possible with PHP-SecureArea to use a PayPal ‘buy now’ button which means that the customer can purchase with a credit / debit card.  As it does not use subscriptions it means that access will not automatically end, but this can be controlled using the cron job which checks for manually created subscriptions.

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.

EasyPHP on Windows 7

EasyPHP is an application that you install on your Windows PC and provides a development enviromment for Apache, mySQL and PHP.

You can download it from http://www.easyphp.org/

When I tried to install it on Windows 7 I came across a number of problems with Apache and mySQL.

This article

http://ryan.rawswift.com/2009/09/20/easyphp-on-64-bit-windows-7-how-to-fix-apache-and-mysql-problem/

solves these problems for me and may by usefull to others.

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 software licence codes with PHP-KeyCodes

PHP-KeyCodes is a is used to sell software key codes or pin numbers using PayPal or Google Checkout.  The key codes are entered into the item details and when a customer makes a purchase, the first key code is removed and sent by email to the customer. This leaves the next key code ready for the next purchase. When the number of codes reach a lower limit, an email is sent to the site administrator.  This functionality can be changed because code hooks are available.

The PayPal and Google Checkout ‘buy now’ buttons can be displayed in the admin interface and then copied on to your web pages.

PHP-KeyCodes is based PHP-eSeller and includes many of its features including transaction list, sales reports and email newsletter facility.

For details refer to http://www.withinweb.com/phpkeycodes/

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.