Offer

Fix WP Ecommerce IPN issues

January 7 2010 by Scott in Open Source, Technology, Web Design

I was recently asked by a client to implement the WP Ecommerce plugin into their Wordpress site in order to sell digital products. Our client used PayPal as the merchant facility and was having issues getting the PayPal IPN feature to work.

I tried every setting possible within the plugin, and also within PayPal to get the IPN to work. Nothing seemed to fix the issue.

So I decided to have a dig around in the plugin core files to see if I could find a fix. I did!

If you go inside your /wp-content/plugins/wp-ecommerce/ folder you will find a folder called /merchant/, inside this folder is the file you require. Open paypal_multiple.php in your favourite editor and then you need to find line 233.

The line below is what you are looking for

  1.  
  2. if(get_option(‘paypal_ipn’) == 0) { //ensures that digital downloads still work for people without IPN, less secure, though
  3.     //$wpdb->query("UPDATE `".WPSC_TABLE_PURCHASE_LOGS."` SET `processed` = ‘2′ WHERE `sessionid` = ".$sessionid." LIMIT 1");
  4.  }
  5.  

The fix is simple, you just need to uncomment the above line so it reads like so:

  1.  
  2. if(get_option(‘paypal_ipn’) == 0) { //ensures that digital downloads still work for people without IPN, less secure, though
  3.     $wpdb->query("UPDATE `".WPSC_TABLE_PURCHASE_LOGS."` SET `processed` = ‘2′ WHERE `sessionid` = ".$sessionid." LIMIT 1");
  4.  }
  5.  

Once you have done this save the file and return to your Wordpress installation. Now go to the WP Ecommerce plugin settings > payment settings and uncheck the ‘use IPN’ checkbox. Now go into PayPal and again remove the IPN settings.

That’s it, your WP Ecommerce should now work and you will be able to sell your digital products.

iDesign, A FREE Wordpress Theme

May 16 2009 by Scott in Open Source, Web Design

iDesign - A FREE wordpress theme by iKreativWe finally found the time to finish the FREE Wordpress theme we promised.

iDesign is a simple minimalistic Apple inspired theme with some added jQuery effects. You may hack and modify this theme to your hearts content.

I have added a footer link back to iKreativ, and also a sidebar AD, you may however remove these links if you wish but it’d be pretty nice if you showed some love and gave a link back!

We’d love to see this theme in action on your site, so if you do use it please feel free to leave a comment with a link to it.

You may view a live preview HERE

OpenSuSE 11 install on Acer Aspire One

February 8 2009 by Scott in Open Source, Popular

Well, I decided to buy a Netbook in the form of an Acer Aspire One. Seems like a great little machine, 120GB HDD, 512MB RAM, Dual Core 1.6GHz Intel Atom, and a built-in Webcam. It even comes pre-installed with Linux!

The defaultĀ  installation of Linpus ( basically Fedora Core 8 ) is perfect for what the machine is designed for; web browsing, emailing, messaging etc.. but as a regular Linux user the default install just wasn’t enough, it was just too restricted for my taste.

So that was that, off I went and downloaded the USB / Network install ISO of my favourite distro, OpenSuSE.
Continue Reading