navyhost Posted June 26, 2007 Posted June 26, 2007 Hi guys, Tried to search this in the forum but couldn't find a similar post so I appreciate your help with this one. The problem I got is when I select a payment (ex. paypal) then click to go to the confirmation page, if I choose to edit the payment it takes me back to checkout_payment as it should but when I select a different payment mod (ex. 2checkout) then click continuem it will stay with my first payment choice,. In this example it would be paypal. Any one have a solution to fix this? thanks a bunch Mike btw, it happens to all payment mods. Sincerely Mike
shotputty Posted July 5, 2007 Posted July 5, 2007 Hi guys, Tried to search this in the forum but couldn't find a similar post so I appreciate your help with this one. The problem I got is when I select a payment (ex. paypal) then click to go to the confirmation page, if I choose to edit the payment it takes me back to checkout_payment as it should but when I select a different payment mod (ex. 2checkout) then click continuem it will stay with my first payment choice,. In this example it would be paypal. Any one have a solution to fix this? thanks a bunch Mike btw, it happens to all payment mods. I experience the same problem! SO weird that no one but you has ever encountered the same issue. I think for this reason it must be one of the contributions we installed. But there are sooooooo many and I have no idea when this issue appeared for the first time. If anybody can help... :blush:
shotputty Posted July 5, 2007 Posted July 5, 2007 By the way, I replaced my checkout_payment.php with the original one and the problem stayed. (So I put it back again)
navyhost Posted July 5, 2007 Author Posted July 5, 2007 Ya, I got quite a few mods installed also. It seems there is a query code to update the payment selection. I also have a bunch of mods installed so I have no clue which one could be causing this. Sincerely Mike
navyhost Posted July 13, 2007 Author Posted July 13, 2007 I am still running into this issue. Does any one know where the specific code is that updates the customers payment option? Sincerely Mike
shotputty Posted July 21, 2007 Posted July 21, 2007 I am still running into this issue. Does any one know where the specific code is that updates the customers payment option? I posted this issue on the Dutch OScommerce forum also but no one knows there either, yet...
♥Monika in Germany Posted July 21, 2007 Posted July 21, 2007 I am still running into this issue. Does any one know where the specific code is that updates the customers payment option? it's the class order.php I strongly believe though that this error can only be fixed by going into your files with avery sharp eye, and by adding debugging code :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
shotputty Posted September 13, 2007 Posted September 13, 2007 I am still running into this issue. Does any one know where the specific code is that updates the customers payment option? I haven't had much succes in finding the probem. Makes me want to start all over again. Only I have so many mods I wouldn't know where to start. If only someone else encountered this problem (and solved it). Too bad I'm not thát good at php.. :blush: I had to call a new customer just yesterday because I saw him online getting an error when switching payment method. I think he thought I was pretty weird just calling him and sneeking up on him like Big Brother was watching him... <_<
navyhost Posted September 13, 2007 Author Posted September 13, 2007 Hey! I acually found the problem a few weeks ago I decided to jump right in and find the proble. In the past I installed order without an account and I guess i missed removing some code on the payment file I believe. It was near the top. As soon as I got rid of this, everything worked perfect. So if you have this mod installed it could be the source of your problem. Or it could be a similar problem with a different mod. Sincerely Mike
shotputty Posted September 21, 2007 Posted September 21, 2007 Hey! I acually found the problem a few weeks ago I decided to jump right in and find the proble. In the past I installed order without an account and I guess i missed removing some code on the payment file I believe. It was near the top. As soon as I got rid of this, everything worked perfect. So if you have this mod installed it could be the source of your problem. Or it could be a similar problem with a different mod. Ehm, I have this contribution (PWA) !! What code did you remove????
navyhost Posted September 21, 2007 Author Posted September 21, 2007 Ehm, I have this contribution (PWA) !! What code did you remove???? Hey, I can't quite remember what the code was but I simply removed all of the PWA prior to this but missed removing some code which I beleive was on the checkout_payment.php page. Once this bit of code was removed the problem was gone. Your best bet is to download a fresh copy of oscommerce and use a compare software like beyond2compare and this will help you easily find the code if it is marked. Here is the link to the file comparison software I use: http://www.scootersoftware.com/ Sincerely Mike
shotputty Posted October 16, 2007 Posted October 16, 2007 Finally I solved this shitty problem. I figured, somewhere somehow my site keeps track of the payment method I just selected. So this must happen in some sort of session. So from checkout_payment you go to checkout_confirmation, change your mind, go back. And there it is, in a session. Now, how do I get rid of this annoying session? I close my web browser or....... I unregister the damn payment session! So on top of checkout_payment, after "require('includes/application_top.php');" I added this: if (tep_session_is_registered('payment')) tep_session_unregister('payment'); Since the page is excecuted from top till bottom this does not affect anyone selecting a payment method, but it does help for the problem when people return to the page! Happy :lol: :lol: :lol:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.