Archive for the ‘Uncategorized’ Category

Paypal standard for osCommerce 2.3.4(BS)

Tuesday, January 19th, 2016

At the time of beginning this article, I’m still in the midst of a painful process to get working Paypal support on an oscommerce 2.3.4(BS) store. At this stage it’s a cautionary tale.

In testing, the paypal_standard module worked fine in sandbox mode, but was not tested in live mode.

We went live, and following payment through paypal, although processed fine in pp, the error “Could not verify the PayPal transaction. Please try again.” showed on return to the store. In the meantime, however, the IPN went through and updated the order to the appropriate status and added the comment verified.

The debug email showed only partial data being returned – no result and some get vars:

$HTTP_GET_VARS:

Array
(
[tx] => 6M910349SK180201D
[st] => Completed
[amt] => 1.20
[cc] => GBP
[cm] => 947
[item_number] =>
)

After a couple of hours fiddling about without getting any further, I re-implemented the old payment module from osc 2.2. I’m not happy with that either, as the ipn seems unreliable (though it was fine before the upgrade). So there are two paths of ongoing work, see if I can get the standard module going from a test osc install but against the live paypal account without the error and see if I can get the app going. The latter is fodder for several articles by itself.

Anyway the lesson learnt is – always test paypal integation against the live paypal environment as well as sandbox. Even if it’s just to make sure you have all the credentials right!

Hello world!

Saturday, February 6th, 2010

Time to move from notes on scrappy bits of paper to a medium that I can find again; useful hints and tips, problems and resolutions so that I can repeat installations and design solutions for other clients.

At some point, I may even configure WordPress, but the cobbler’s children are always the last to get new shoes.