Post by Pokedollusa2 » Fri Sep 20, 2013 8:28 am

UPDATED!
-I updated to opencart 1.5.6 (this was happening before I updated as well)
-I want to continue using paypal pro
-customers have reported that paying through paypal standard does a similar thing

When I test it myself:
1. I click the confirm order button get the "please wait"
2. the "please wait" goes away and nothing happens
3. then if I click confirm order again it goes through
4. Then there are 2 charges on the account.

Ive been using opencart for about 5 months. This started happening about 2 months ago, and Ive fixed it a few times. Now none of the fixes are working.

I urgently need help. This is a HUGE time for sales in my line of business, and I really need to get this fixed. If someone is able to provide a fix, or work on it privately with me, I would be willing to send like a tip or something.

I do have it set up correctly because it was working before.
----
ORIGINAL POST BELOW
All payments go through paypal pro.

I am a beginner to coding and such, but I am smart so any explanation of how things work helps a lot.

My problem is that when a customer goes to checkout, if the customer uses a credit card they get the hanging "Please Wait" on confirm order. This often ends in multiple charges to the card.

I have searched and found fixes for this, and they have worked. However, it seems to start happening again about a week after I fix it. Is it possible my site is being phished?

Let me know if there are any further details I can provide.

Any insight on why this is happening is incredibly helpful.
Last edited by Pokedollusa2 on Mon Sep 23, 2013 5:23 pm, edited 2 times in total.

Newbie

Posts

Joined
Sun Sep 15, 2013 8:53 am

Post by butte » Fri Sep 20, 2013 12:54 pm

You may just need to do something as basic as elevating your php.ini settings (or changing servers), or making the payment module work right. If you test with PayPal Standard and a trivially priced test item, you can see whether perhaps the Pro module is the problem. There is a new wrinkle in the works, shifting to http1.1, and you might have run amok of that (maybe, dunno, with a new enough module probably not) -- check within your PayPal account on that, they WANT you to know about it.

You have not said anything that screams alarm, beyond multiple charges on single transactions.

As a few basic steps for peace of mind you can preliminarily check for possible hacking, by looking in /download/ for anything odd (delete it), looking for 777 permissions and any .dirname/ directories (note the dot), seeing how large your logs are and how many sessions have accumulated when in your public or private /tmp/ or similar directory (the one for storing sessions, you might not be able to reach it on a shared host), and checking your /system/logs/ and /vqmod/logs/ for the kinds of errors appearing there. If your server has defensive software, you can see what logs for that reveal.

For a diversity of things to be aware of, see some of these, take heart that (if) you're not seeing the same:
http://forum.opencart.com/viewtopic.php ... 55#p403655 you're "it" as Defense No. 1
http://forum.opencart.com/viewtopic.php?f=20&t=98644 generally
http://forum.opencart.com/viewtopic.php ... 60#p431729 special wrinkle
http://forum.opencart.com/viewtopic.php ... 34#p431733 active attack
http://forum.opencart.com/viewtopic.php ... 18#p434919 active attack
http://forum.opencart.com/viewtopic.php ... 18#p435318 live active attack
http://forum.opencart.com/viewtopic.php ... 93#p437793 permissions
http://forum.opencart.com/viewtopic.php ... 93#p437882 system itself barred
Those threads will at least keep you occupied during television commercials. Their point is largely self-protection in advance so as to minimize odds of a successful intrusion, and dealing with it immediately if it occurs.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Pokedollusa2 » Fri Sep 20, 2013 8:57 pm

Thank you! This is exactly what I needed, I now have the tools to attept to figure out what exactly is going on.

One problem I see already though is that testing Paypal standard wouldn't work. If I am not mistaken, paypal standard does not process credit cards and the issue seems to only occur when a creditcard is used.

Newbie

Posts

Joined
Sun Sep 15, 2013 8:53 am

Post by butte » Fri Sep 20, 2013 10:13 pm

Well, I use Standard and I take credit cards without incident, and I don't think I've been grandfathered into that. Try, see, if even that does not work then that helps to draw out the problem. You do need to be sure that in admin Extensions / Payments you have the proper module(s) enabled.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Pokedollusa2 » Mon Sep 23, 2013 5:26 pm

You were right about paypal standard. But I feel like the "Dont have paypal?" option that processes the card is too confusing for some customers. I mean I didnt even notice it untill just now.

Also under "payment options" on checkout, it just says paypal. Which leads stupid people to believe we dont accept credit cards at all.

I've updated my original post with more information.

I also am unsure about a lot of the terms in the first paragraph of your response. If you could kind of "dumb" it down for me I would really appreciate it. If you dont think you can do that, I understand and I appreciate your help. :)

Newbie

Posts

Joined
Sun Sep 15, 2013 8:53 am

Post by butte » Mon Sep 23, 2013 11:05 pm

It is to PayPal's advantage, selling accounts (transaction fees and premium accounts), to put itself first on the payment page. The part that says PayPal should have more stuff, to use an account, to open an account, and in recent weeks to use the new deferred payment routine. The credit cards are a bit below that, and sometimes are more obvious than other times -- depending upon exactly how the shunt into PayPal occurs. You can provide a short ditty to tell customers they will see PayPal above credit cards, scroll down to cards if they plan to use cards. It is also to PayPal's disadvantage, confused customers do not help PayPal's reputation, sellers have ways to make PayPal even completely transparent. Past a point any taxes collected for education have no effect upon the few people who won't get it even with mirrors, instructions, pictures, and helpers.

Compare how PayPal appears going into it from your own shop to how it appears arriving from other vendors of whatever you've perhaps bought on-line, or perhaps from live shops linked from threads here. If you do dummy orders, it'll help somebody to empty your cart before you depart. If what you see at PayPal differs markedly from what you're seeing now at PayPal (such as the simplicity of the PayPal part, perhaps), then you would seem to have a problem going into PayPal, check in your account for whatever code snippets you might need.

On http1.1, see
recent http://forum.opencart.com/viewtopic.php?t=107709
older https://www.google.com/search?q=paypal+ ... om&spell=1

You can use phpinfo.php to see your php.ini settings, mostly "given" on the server, some settable for your own account. See http://forum.opencart.com/viewtopic.php ... 04#p435704, download the little file, upload it into your shop (root or admin), address it http:// [domain/ or domain/admin]/phpinfo.php in browser. Settings to look for are noted.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Daniel » Mon Sep 23, 2013 11:40 pm

sounds like there is some error in the background that is interfering with json response being returned so the redirect is not sent back.

you need to check your error log. also turn display error messages off and just leave logging on.

it could also be your mail settings. if mail is not setup properly by your host there could be an error trying to be displayed. i recommend hiring soem one who knows opencart. the error sounds like it could be fixed within 20 minutes. i think it should be a very low cost to hire a developer to fix this for you.

my staff might have a look for you if you use the contact us form although if you want quick response you should contact a local web company.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Pokedollusa2 » Tue Sep 24, 2013 4:27 pm

Daniel, thank you if this error ocurs again I will definitly contact your company!

I did resolve this issue myself. I did all of the following, not sure if any of this mattered:
- Installed Opencart 1.5.6 (hoping there might be a fix for it included)
- Updated my "Journal" theme Layout to 1.5.6
- Fixed any problems on the error log - these seemed to be small things like "search" errors
- Reinstalled a fresh copy of index.php
- Deleted the Install file... I seemed to have had it saved somewhere awkward as "Installbak" not sure when I did that.

But in the end, I believe the thing that fixed it was that I completely wiped VQmod, and unistalled it completely. Which is a real shame because I really liked my vqmod extensions. So if anybody is encountering this issue in the future, try to unistall it, its very easy to re-install it but thats what worked for me. :(

Newbie

Posts

Joined
Sun Sep 15, 2013 8:53 am

Post by Vectra » Fri Oct 04, 2013 7:54 am

Pokedollusa2:
I have the same problem. I am running 1.5.2.1 and when some of the customers click to complete the order, there is no feedback, or a wait icon forever. They wind up clicking again which gives them another order. This has really picked up in the last 2 months.
Here is the common 2 line error log that I get (which I assume pertains to this problem):
2013-10-03 18:58:40 - PHP Notice: Undefined index: customer_id in /home/vectra5/public_html/store/vqmod/vqcache/vq2-system_library_customer.php(184) : eval()'d code on line 4
2013-10-03 18:58:40 - PHP Notice: Undefined index: payment_address_id in /home/vectra5/public_html/store/vqmod/vqcache/vq2-system_library_customer.php(184) : eval()'d code on line 4
It must be a vqmod I am thinking. I don't know which one. I suspected one, and the developer says that it is not his. I don't think that you or I need to completely delete vqmod. We at worst need to find the one add-on that is the problem and deactivate it. Better would be to contact that developer, and get it fixed.
I am wondering what software extensions that you were running. Here is my list:
Image
Thank you.

New member

Posts

Joined
Sat May 12, 2012 3:32 am

Post by Vectra » Thu Oct 10, 2013 3:41 am

I fixed my double order problem. There was some code in the system/library/customer.php file to delete (yes, this did cause the system/logs/error indicating the vqmod/vqcache/ folder).
See here:
http://forum.opencart.com/viewtopic.php ... 02#p445002

New member

Posts

Joined
Sat May 12, 2012 3:32 am
Who is online

Users browsing this forum: No registered users and 2 guests