8 replies [Last post]
CoachCoen's picture
Offline
Joined: 04/28/2009
Juice: 8
Was this information Helpful?

When a payment has been completed at PayPal, the final page shows the "Return to Merchant" button. At this point the Ubercart Order still has an "In Checkout" status, even though the user has already paid

Having only had a few orders through Ubercart, at least one customer didn't click on the "Return to Merchant" button. So I'm having to check all PayPal emails against the orders (or against the order confirmation emails) to make sure the customer has clicked on the "Return to Merchant" button, and manually input the PayPal payment if not

Is there a way around this, for instance by having PayPal automatically return to Ubercart as soon as the payment has been made?

I'm using the following:
Drupal 6.11
Ubercart 6.x-2.0-beta6 (which I will update later this week)
PayPal Website Payments Standard
uc_nodes (for event registration)

Thanks,
Coen

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: PayPal, automatic "Return to Merchant"

Ubercart should be picking up on IPNs for those payments and moving the orders to a payment received status. Can you look in the recent log entries for your site and see if PayPal is reporting any IPNs?

CoachCoen's picture
Offline
Joined: 04/28/2009
Juice: 8
In the live site I get IPN

In the live site I get
IPN failed with HTTP error No route to host, code -113.

For location /uc_paypal/ipn/11

On the test site, set up with the PayPal sandbox I get no IPN log entries. I checked PayPal's IPN settings, and the IPN URL is blank. IPN is off, but as far as I can tell the only way to get IPN to on is to enter an IPN URL, which should be taken care off by uc_paypal instead

"No route to host", is that from Drupal to PayPal or the other way around?

Thanks,

Coen

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: In the live site I get IPN

Hmm, do you have SSL capabilities on your server and/or an SSL certificate on your site? I think PayPal requires those for IPN reporting on live sites... but maybe I'm thinking of another service. Puzzled

ktleow's picture
Offline
Joined: 06/05/2009
Juice: 2
Re: PayPal, automatic "Return to Merchant"

I'm having the same problem as well.
After paying via PayPal, I need to click on "Return to Merchant" button then Ubercart updates the order status > Pending. Else it still shows In Checkout.
Not all customers will click on this Return to Merchant, and they would simply close the browser window upon payment.

Any workaround for this?

Because when its still In Checkout and the customer paid, no email notifications are sent out =(

j.mead's picture
Offline
Joined: 07/27/2009
Juice: 385
Is this still an issue?

I've been having this issue with PayPal as well. And though this post is a bit old I'm wondering if anyone might offer some advice.

I'm currently Using U2/D6 with all the latest releases. This is a PayPal Web Standard account, and I'm debating if i should upgrade to Pro or just dump PayPal altogether. The Authorize.net settings are working fine, and I only offer PayPal to offer a recognizable name as extra assurance to customers as we are a new site. We have SSL working, so losing PayPal isn't huge but it's been very popular with our newest users.
The only real changes made was I previously setup a conditional action to not send an email or decrement stock if the status was still in checkout, as i was getting double emails sent out and double stock reductions with the out of box settings, only for PayPal transactions. This was a recommendation I found at this post, http://www.ubercart.org/forum/bug_reports/13716/stock_levels_decrease_tw... (the second reply)

Some PayPal transactions go through fine while others don't. A customer finally called me to ask if a transaction went through because she had an email from Paypal but didn't get one from the Ubercart site. This customer told me that after receiving the PayPal verification she still had the product in her cart. Her order posted but the stock level didn't decrease nor did she receive an email. I had an IPN notification and verification in the logs.
I have the PayPal account set up according to the latest recommendations for the current releases, well at least i think so. I have left the IPN URL blank and have not turned on the IPN notification, and the logs seem to show that this is working according to how Ubercart handles things.

Could all of this be settled by putting in the return URL, does the customer need to click the return to merchant site button. Shouldn't it be automatic once they complete payment with Paypal. How can I ensure they do?
--The inevitable edit right after posting--

I just noticed that Web Payments Pro was enabled under the available gateways, even though I had not entered any info in there. I just disabled it, now I wonder if that was the source of all my problems?

the sites i'm always breaking.... www.sew-la-fabric.com
http://lostpetsla.com (though i hope i never break this one too bad)

jmuessig's picture
Offline
Joined: 12/03/2009
Juice: 37
Hi j.mead, From what I

Hi j.mead,

From what I understand, if your customer does not click the return to merchant site button, the IPN will not be sent.

However, you can setup an automatic redirect in paypal for WPS. See here: http://www.ubercart.org/faq/2439

HTH

Justin

j.mead's picture
Offline
Joined: 07/27/2009
Juice: 385
Re: Hi j.mead, From what I

Looking at the logs, I see IPN notifications for all the successful PayPal orders, but a lot of orders stay in checkout for the same user in the orders table.
I was concerned that something was a miss because one of my customers said that her cart wasn't empty after receiving an email from PayPal nor did she get an email from my site. She might of had PayPal open on a new tab/window in her browser as she mentioned that she "likes to multi-task" so the cart was displaying on an "old" tab?
I previously had issues with stock being decremented twice and emails being sent out twice to admin and the user. Following advice from this post, http://www.ubercart.org/forum/bug_reports/13716/stock_levels_decrease_tw... , I made some changes in the conditional actions. This only worked for some PayPal orders not all. I just reset the CA's to their defaults (except the customer notification), and am awaiting the next PayPal transaction.

the sites i'm always breaking.... www.sew-la-fabric.com
http://lostpetsla.com (though i hope i never break this one too bad)

cookiesunshinex's picture
Offline
Joined: 10/14/2009
Juice: 127
j.mead wrote: I previously
j.mead wrote:

I previously had issues with stock being decremented twice and emails being sent out twice to admin and the user. Following advice from this post, http://www.ubercart.org/forum/bug_reports/13716/stock_levels_decrease_tw... , I made some changes in the conditional actions.

I had the same problem and this fixed my issue.