Skip to content

Blog

The Very Simple PayPal Bridge

Just a quick note to say that I’m proud to announce the release of some more open source code, as part of my collaboration with Van Patten Media.

The Van Patten Media Labs site has all the details of the Very Simple PayPal Bridge — a simple way to connect to the PayPal API.

Interacting with the PayPal NVP API is something that a lot of e-commerce websites need to do. If you’re writing your own code for a bespoke e-commerce solution, rather than shoehorning in generic ‘Shopping Cart’ software, there is quite a lot to think about in order to communicate successfully with the API and provide a great payment experience for the site’s customers.

The Very Simple PayPal Bridge is a PHP class that, as the name suggests, provides a very simple interface for the PayPal NVP API.

In any situation where you need to interface more directly with the PayPal API, the VSPB provides a clean interface for the other layers of your code, dealing with all of the implementation details of sending requests via cURL, encoding and decoding the arguments, as well as offering full support for graceful error handling with PHP exceptions. It is great as a lower-level component of a wider PHP e-commerce solution.

For more information, see the post on Van Patten Media Labs and check out the code at GitHub!

FOSSwire 2.0

Thanks to the extremely hard work of Jacob (coding and architecture) and Chris (design), and not really me (I did keep posting though), FOSSwire has just relaunched!

Well, FOSSwire, we’ve had some ups and downs, but overall it’s been a good year. We now have quite a reader base compared to when we started.

But now isn’t the time for reminiscing. (really, never is the time.)

You may have noticed some changes around here. Did FOSSwire get a haircut? You’ll have to figure that out for yourself. But we did add several new features:

  • Tabs: Now, instead of a bajillion categories, we now only have five, and they are shown as tabs at the top of the page. Who doesn’t like tabs?
  • Tags: This is where the mass amounts of categories were thrown. We didn’t really know what to do with this new feature in WordPress 2.3, so we’re just using it as our new category home.
  • The Metabar: Chris calls this the Ãœberbar. To each their own. The important thing is this is home to many more features, including:
    • GNOME vs KDE vs XFCE wars
    • FOSSwire Video: Yep, we finally support video. Expect many more posts to have this feature.
    • PkgBase Automatic Installers: This is what we were suggesting with this post. You can now enjoy a one-click style install feature for systems that support it. And for those that don’t, instructions are given.
    • Expertise Level: Know before you read a post how difficult it will be to do. Most commonly used in the Tips & Tutorials section.
  • Post Ratings: For anything that can be reviewed, such as a software or game release, we can now assign a rating out of 10 to it.
  • Caching: You won’t notice anything (other than comments being delayed) except for the site running a lot faster. We’re using a custom-built caching system that is by far faster than WP-Cache.

Those are most of the features, but we’ve made some cosmetic changes here and there. We think you’ll like it.

This relaunch marks one year of FOSSwire, and I’ve been extremely happy to be a founding contributor and hope we continue to enjoy as much success as we’ve had (and hopefully more)!

One year.

Wow.

It’s gone pretty quickly, and in the past year I’ve managed to push out 210 posts. It isn’t quite one a day, sadly, but still, I’m pretty happy with how much I’ve put into FOSSwire personally.

Of course, I must again point out that the overwhelming majority of the work for this new release was not done by me! I’m not taking credit at all – not until content I’ve produced arrives 😉 .

So, here’s to the next year!