Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

Subscribe   OIOpub Blog » Development » Article: More Payment Methods Coming

More Payment Methods Coming

Filed under: Development

These new options are now available in the latest beta release.

I’ve been a bit delayed in getting the next beta release out, but was able to spare a bit of time this evening to work on a few payment modules that have been requested. They have not been released yet as all need testing, but I hope to package them with the next beta release.

The payment methods being tested are:

2Checkout and Authorize.net are both relatively straight forward, and will work much in the same way as the PayPal module (with automatic payment notifications to update the database). However, nethier method will support subscription payments initially, as both require an SSL certificate to utilise the features required for recurring billing.

It also looks as though Google Checkout requires an SSL certificate to receive any automatic payment notifications to the database (although I’m still checking on that fact), so it will most likely be a manual option to start with, where the user will get notified by email of a payment, and then enter the admin area to mark it as paid.

22 Comments so far

James Callaway | March 11, 2009

Hello there,

Just curious, which file or files would I need to take out of beta version and place into my current running version to get 2checkout pay processing. Seems this could be easier than dumping my current file which has all my ads set up.

Thanks for your help,


Simon | March 11, 2009

I’m not 100% sure whether it will be compatible with an older v2, however the files that you’d need to overwrite to try it would be:

* include/payment.php
* all payment modules (including paypal)

Just to add that an upgrade won’t affect your ad settings, so you won’t lose anything if you do make an upgrade.

James Callaway | March 11, 2009

Hey Simon,

Thanks for the quick reply. Just for clarification, in the includes file there is purchase.php but not payment.php There is payment.php in the parent file.

Change both?

Thanks again,


Simon | March 11, 2009

You shouldn’t need to over-write any files in the main directory. The payment.php file from the “include” directory in the beta app will need to be copied to the same directory for your own install.

There are also a couple of other files that will need adding / changes, that I missed first time round:

* include/sha1.php
* include/functions.php

The functions file is a tricky one, because other functions were modified that are unreleated to the payment process – so other things might stop working. I’d recommend doing a full upgrade to v2.1 if you come across anything that stops working as a result.

James Callaway | March 11, 2009

Hi Simon,

Ok so here is what I did. I overwrote the modules and includes files. The result was that it wanted me to delete different payment modules or download the latest version.

Next, I overwrote my existing directory with v2.10.b2 Now, the result is that it is hung up on the installation wizard page. I hit “Finish Installation” and it just brings me back to the same page. Have tried to go to the log in page but again it brings me back to installation wizard.

Please advise.

Thanks for your patience.


Simon | March 11, 2009

Could be a result of upgrading certain parts before others. I’d suggest the following:

1.) de-activate the OIO plugin
2.) backup the current database (oiopub tables)
3.) rename the current OIO directory (eg. add -old to the end)
4.) upload a fresh copy of v2.1, using the same directory name as the old install had
5.) re-activate the plugin

James Callaway | March 11, 2009

Yeah I wish Id thought of backing up the previous version…..oh and btw,
this is a stand alone install and not a WP plugin….

Any other suggestions?



Simon | March 11, 2009

It’s difficult to get into the habit of making backups, or to consider it but not want to spend time doing it – I do the same myself sometimes with other scripts.

What’s the status of it at the moment with the fresh upload? What screen are you seeing?

James Callaway | March 11, 2009

I decided to take this opportunity to get a different domain name and just do a complete fresh install.

I had some ads up but not so many as to cause any huge problem.

I will update you as needed.

Thanks again,


Simon | March 11, 2009

Ok, let me know if you need any further help with it.

Out of interest, do you still have the old “oiopub” database tables saved? If so, would you be able to export those tables and send them to me? (admin[at]oiopublisher[dot]com

I’d be interested to try and find out why you got taken to the installation wizard page, as that shouldn’t happen when upgrading.

If not, don’t worry about it.

James Callaway | March 11, 2009

Ok now I am at an impass. I have erased the old install, set up a new database, etc….. Result, still at the install page.

Simon | March 11, 2009

It shouldn’t be any different than the installation process for any previous v2 installs.

Have you followed all the steps in the installation tutorial?


* Upload files
* Edit config.php file
* Fill in installation form

If you still can’t get it working after looking through the tutorial, send me a link to the page and I’ll check it out for you.

James Callaway | March 11, 2009

Yes, I followed the details. Ive also sent the URL to your email as requested.

Looking forward to some resolution.


James Callaway | March 11, 2009

Ok now this is starting to take a turn for the worse. I don’t know why exactly but when set up on the new domain I go to install and it reverts back to the previous domain and still stuck on the install page. So I think to myself, I’ll try another computer. Same result. Which seems odd because I hadn’t ever been anywhere near the old domain.

I realize it’s a $50 product and that there are limits to what you are willing to do to resolve a problem. Just the same I would like to see this resolved somehow….soon!

James Callaway | March 11, 2009

*kicks self* just realized that I had the old domain still in the config file.

Simon | March 11, 2009

Ah, good. Does that mean you’ve been able to complete the installation, or is it still stuck on the install page?

If it’s the latter, feel free to shoot me over some FTP details and I’ll see what the problem is.

James Callaway | March 11, 2009

It’s working fine on the new domain…still stuck for the old one. Old one doesn’t really matter now.

Thanks for your help.


James Callaway | March 11, 2009

One more quick question…what does the rewrite script URL do?

Simon | March 11, 2009

It lets you change (ie. shorten) the url to the ad / purchase pages. It’s more useful for a WordPress install, as the default base url would be:


Using the rewrite option (and an htaccess file), you could reduce it to:


James Callaway | March 11, 2009

ok so it’s not like Google Adwords used to do where you could put whatever domain name you wanted to display and it would take you to the right spot?

Simon | March 11, 2009

Nope, it’s just for shortening the base url. A few people requested it a while back, so I added it in for them.

IT Buzz | May 1, 2009

That’s really awesome because at some part of globe paypal isn’t operating so its a great move.

Leave a Comment

Name: (required)

Email: (required)