Installed and have been trying everything I know for over an hour or so. Am on d6 w/ uc2, full domain. The only thing I could think of is maybe it doesn't work with Paypal? If not what does it work with?

Comments

ryangroe’s picture

Title: Does not work » Does not work with PayPal
Assigned: Unassigned » ryangroe
Category: support » bug

Sorry, Drupal didn't send me notification of this bug so I'm just coming across this now.

I changed the title to "Does not work with PayPal". Other people are using this module without problems. In the future please provide the workflow that caused the problem and how the module's behavior varied from your expectations of its behavior. Though for this problem I think I have enough to guess the underlying problem.

PayPal (in some of its forms) and Google checkout work differently than other payment processor in that the user is redirected away from the vendor's site. It appears in this case Ubercart does not reliably call hook_order: $op="submit" at any point. The alternative is to use a convoluted hook_order: $op="update" block as described here: http://www.ubercart.org/forum/support/2629/problem_hook_order_submit_and... (but I would use "payment received" instead of "completed"). I will into this more and provide a possible fix for you to test within a day.

ryangroe’s picture

OK, I confirmed that checking out with PayPal will call hook_order() with op="update" and the new status as "payment_received". Ubercart calls this one time per order with both PayPal and standard payment gateway (such as Authorize.net) types. So I think that's the way to go until Ubercart properly calls hook_order() op="submit" with PayPal.

As a warning, I've noticed Ubercart does not send order notification email when using PayPal checkout unless the user clicks on "Return to XXX's Store" from PayPal.

I will release beta 4 shortly with this fix. Please try it out and let me know if it works for you.

ryangroe’s picture

Status: Active » Needs review

Please download and try beta 4.

ColinMctavish’s picture

subscribing