dynamoeffects Posted February 17, 2008 Author Share Posted February 17, 2008 Sorry if I didn't understand correctly, but there aren't any download links in the actual email, just a link to the user's account page where the download links should show up. Is the order status still not being set correctly once the payment status has been updated? I mean is the order status that's being set once payment has been completed not the correct one necessary to unlock the downloads? Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
danielcompton Posted February 17, 2008 Share Posted February 17, 2008 (edited) sorry the email is a link to my account in osc i.e www.STORENAME/account_history_info.php?order_id=971 The status of the order is being set correct to download now no.4 which is the same status I use for downloads for all other payment modules and works perfect for them. the order status is being set fine, thats what I dont understand. it is authorising the salea and download I am postive of that, but it is ignoring the filename/link to the physical file example. If I enable Check/Money order module and tell that to set it to status Download Now which is ID 4. I checkout and soon as it completes I get the links just like this If I do this with onebip it sets it to download now id 4 and lists the file name and expiry, but it doesnt seem to know where the file is locatad so doesnt enable the download links. this is example of it not working with onebip order module using the same status that check/money order uses also to prove it is either ignoring the attribs for the download or cant work out where the files are. If I unassign the download file name out of the arrtribs for any product and I checkout using check/money order I get the exact fault I get with onebip. which is the 2nd image above which just lists the name, expiry date but no download links so the onebip system is doing something different to what the other payment modules does with the attribs or file downloads Edited February 17, 2008 by danielcompton Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted February 17, 2008 Author Share Posted February 17, 2008 Ah, thanks for being so descriptive, I see what the problem is. This module uses a different checkout_process.php than someone checking out with another payment module would use. Apply the same changes to OneBip/checkout_process.php that you did to /checkout_process.php when you installed Super Download Shop and see what that does. Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
danielcompton Posted February 17, 2008 Share Posted February 17, 2008 I will give that a try, thanks very much I was just looking and see it uses its own download table so thought it was slightly seperate in some way..but I no coder so was lost I will let you know and thanks for the first class help Quote Link to comment Share on other sites More sharing options...
danielcompton Posted February 17, 2008 Share Posted February 17, 2008 I have tried using winmerge on the checkout process files, got close to it working.. it now list all the files in the group i.e my group download has 16 files and it will list them all individually with super download controller before I merged the files it just listed 1 file to download, it now lists all the files..but still no links... So running out of ideas now If any chance at all you could take a look at the super download contrib here http://www.oscommerce.com/community/contributions,4868 it has the check_out process file and a clear intsrcution file about the contrib. If looks complex, I am happy for you to have access to my store and files to try and resolve and I happy to pay for this to be down..as something I REALLY want to use.. a lot of peopl use super download controller now.. as large .zip files are slow and often corrupt when downloading..so with this I can group the files and it lists them all seperate with seperate links thanks Quote Link to comment Share on other sites More sharing options...
danielcompton Posted February 17, 2008 Share Posted February 17, 2008 I think it is as if it doesnt know the DIR_FS_DOWNLOAD path.. as if this is not called or wrong it wont find the files in the download area Quote Link to comment Share on other sites More sharing options...
danielcompton Posted February 22, 2008 Share Posted February 22, 2008 all issues I had resolved with v1.2 of contrib.. works great with super download controller now there a few limitations with onebip on what you can charge in certain countries. but that a carrier limit and nothing to do with the contrib or onebip Quote Link to comment Share on other sites More sharing options...
megaplatinum Posted February 24, 2008 Share Posted February 24, 2008 3 questions. I'm using osc2nuke (a oscommerce 2.2 contribution for phpnuke.) none of the database tables have been altered that i know of to support the hybridge. i also installed super download shop and it's successfully working with paypal ipn. i'm very excited to incorporate onebip and thanks for this contribution. i have set up my account on onebip, set my pricing for the different countries, followed the installation instructions. 1. i am getting an error on line 190 of product_info.php when the following code is called $showOneBip = $OneBip->ProductStatus($_GET['products_id']); Fatal error: Call to a member function on a non-object in /homepages/..../product_info.php on line 190 I'm assuming this bit of code checks to see if the product/download has a onebip flag of 1 associated with it. In that event, is there another way to write this so i don't get this error? it's not displaying the buy it now button or any other info and keeps me from moving forward with the transaction 2. i heard there was a test server for testing this api with onebip and oscommerce. how would i set that up? 3. what are the correct order status settings for my administration side? there's 3 different settings and i'm not sure what they should be. thanks in advance! Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted February 25, 2008 Author Share Posted February 25, 2008 (edited) Strange, I thought that I had already replied to you. 1) Make sure you included the /includes/application_top.php modification because that's where the $OneBip object gets set up. 2) You need to log into your OneBip account and go to "My Sites & Items" -> "My Items." Then find the product that you want to test and click on the "Test" link. It will create a temporary login that you can use to test your setup. Then go back to your store and click on a OneBip button that uses that price point and when you get there, select one of the countries (not the US) and enter in the test login information. 3) Do you mean so that downloads will work correctly? You'll need to reference your download controller's orders status setting to correspond with the OneBip order status. However, downloads won't always be available immediately because it sometimes takes a few minutes for the money to be debited from the customers' phones. Edited February 25, 2008 by dynamoeffects Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
megaplatinum Posted February 25, 2008 Share Posted February 25, 2008 Strange, I thought that I had already replied to you. 1) Make sure you included the /includes/application_top.php modification because that's where the $OneBip object gets set up. 2) You need to log into your OneBip account and go to "My Sites & Items" -> "My Items." Then find the product that you want to test and click on the "Test" link. It will create a temporary login that you can use to test your setup. Then go back to your store and click on a OneBip button that uses that price point and when you get there, select one of the countries (not the US) and enter in the test login information. 3) Do you mean so that downloads will work correctly? You'll need to reference your download controller's orders status setting to correspond with the OneBip order status. However, downloads won't always be available immediately because it sometimes takes a few minutes for the money to be debited from the customers' phones. Thanks for the reply. Weird. osc2nuke does use a couple modified bits of code. osc2nuke has it's own header that works in conjunction with application_top.php, so I added require_once('OneBip/OneBip.php'); in the top of that osc2nuke header file, that got me past the fatal error. Now it displays the option to buy with mobile phone on qualifying products (products that i have set up in my admin menu for use with onebip). So, obviously, it's working good now in the sense that it knows which products qualify and acknowledges them. Now we have a new problem. When I click on option to buy, it just goes to the next part of the checkout process with oscommerce (displaying the what's in my cart page). But it should go to onebip.com at that point, correct? I'm looking at checkout_process.php in my onebip folder and it says it's supposed to take me to the login page for unregistered users. Is this supposed to take me to my websites registration page or the onebip.com registration page? What part of the code would i look at to fix this? I feel like I'm close on this. Your other 2 answers cleared up my confusion on those issues. Thanks :) Great contribution. I've been wanting to offer a feature like this in oscommerce for a year now! Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted February 25, 2008 Author Share Posted February 25, 2008 (edited) The OneBip/OneBip.php file should be catching the add-to-cart action and sending the user to the login page. Maybe the change in application_top.php is too low in the code and the normal process is getting in the way. Try moving it up more towards the the top of the script (not all the way at the top, but higher). Edited February 25, 2008 by dynamoeffects Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
megaplatinum Posted February 25, 2008 Share Posted February 25, 2008 ok thanks. i'm gonna try that. Quote Link to comment Share on other sites More sharing options...
megaplatinum Posted February 25, 2008 Share Posted February 25, 2008 no dice. i tried moving that bit of code all over the application_top.php and also my osc_header.php file - nothing changes. still goes to the cart without onebip intercepting the call. since osc2nuke is not an official version of oscommerce qualified for support on these forums, i probably shouldn't waste this support thread with questions about it. however, if you wouldn't mind helping me out via private msg, i'd really appreciate it. let me know. Quote Link to comment Share on other sites More sharing options...
megaplatinum Posted February 26, 2008 Share Posted February 26, 2008 ahh there was a custom mainfile that i needed to add that application_top.php mod to as well! Niceness! A few more errors but now it's intercepting the call. Quote Link to comment Share on other sites More sharing options...
megaplatinum Posted February 27, 2008 Share Posted February 27, 2008 well, i finally got it working after 2 days on non-stop effort, but now that it's done, it works great. thanks for the contribution! Quote Link to comment Share on other sites More sharing options...
AfzaalDar Posted June 8, 2011 Share Posted June 8, 2011 hello dear admin this is my own site http://www.never-fake.com there people upgrade with alertpay or paypal account i want people upgrade account with onebip balance check my site and contact me if it is possible on mail me [email protected] Quote Link to comment Share on other sites More sharing options...
AfzaalDar Posted June 8, 2011 Share Posted June 8, 2011 hello dear admin this is my own site http://www.never-fake.com there people upgrade with alertpay or paypal account i want people upgrade account with onebip balance check my site and contact me if it is possible on mail me [email protected] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.