-Ver 1.2:
Added a code in checkout_success.php, depending on the way of payment, there were duplicated entries. Now a comprobation query is done, it sholud not happen again!.

More...