1 to 9 of 9
Hello,
I successfully installed IOI Publisher v.2.22 on a web site and am using it on a test page. I am using Paypal as payment processor.
I want to offer some totally free ad units but I had to put in $00.01 to get the Paypal payment processing to go through.
Is there any way to use Paypal with no charge at all?
The one cent shows up when I make a test purchase.
Or if not Paypalm is there a way to offer some ads for free?
Any info appreciated.
Do you want to offer free advertising for a limited period of time, or just to certain advertisers?
The first option is doable with a small change to one line of code in one of the OIO files.
For the second option, the only viable way to do it right now is to get those particular advertisers to submit their ad, but ask them not to make a payment - you can then manually mark the ads as "paid" from the admin area.
Links: Tutorials | Troubleshooting | Bug TrackerHello Simon,
Thanks for the reply.
Yes, Free advertising for a limited period of time is what I am looking to do. What would be the line of code to change and in what file?
Any enlightenemt much appreciated.
Thanks!
If you open the "include/purchase.php" file, look for this line of code near the top of the file:
var $free_item = 0;
Change to:
var $free_item = 1;
The only thing to bear in mind is that this isn't a "user ready" setting. You will still need to mark a price in the admin area (eg. $0.01) in order to have the ads available for purchase and the user will have to select a payment processor, but they will be taken straight to the thank you page instead of to the processor's website.
Links: Tutorials | Troubleshooting | Bug TrackerThanks Simon!
Appreciate the help.
Fixed the code as shown in comment above to :
var $free_item = 1;
One problem however.
Although the emails are working to both admin and customer,
after clicking Submit and Make Payment the page goes to
http://www.domain.com/ads/payment.php?do=success&rand=l-VP5s9JvYknbut the page keeps refreshing in the browser window.
The pages shows 'Make a payment' at the top.
It never gets to the thank you page at all?
Any info how to fix this problem much appreciated!
No further help available for this problem?
Sorry, I hadn't noticed you made another reply.
Looks like the function was slightly faulty. If you download OIO again from here and just upload the "include/purchase.php" file again (making the same change), it should show the correct message on the thank you page.
Links: Tutorials | Troubleshooting | Bug TrackerThanks Simon,
That fixed the stalling payment processing page.
Appreciate the help.
1 to 9 of 9