3 replies [Last post]
Vuds's picture
Offline
Joined: 10/23/2008
Juice: 14
Was this information Helpful?

Hi,

I was trying to solve a bug in a payment method that I developed but I couldn't find it how to make it.

The situation: A customer does a checkout, then goes to the complete form page that will send information to the payment site.

In http://www.ubercart.org/docs/developer/920/order_states_and_statuses, it is saying that

When a customer completes checkout, the order gets moved from the default in_checkout status to the default status for the post_checkout state. (By default, this is "Pending.")

But that is not occuring automatically for me. I had tried to find where to make it work analyzing code in uc_order and uc_payment, also tried to see if it was not a workflow-ng rule that does it, and could find nothing.

Do I have to insert a uc_order_update_status() in the _form() to make it work? Or am I misunderstanding something?

Thanks for attention!

OK Computer's picture
Offline
Joined: 04/13/2009
Juice: 24
Re: Help with payment method development: from "in_checkout" to

I think I have the same issue. Anyone got any pointers?

univate@drupal.org's picture
Offline
Getting busy with the Ubercode.
Joined: 03/27/2009
Juice: 465
Re: Re: Help with payment method development: from "in_checkout"

Maybe look at what the paypal module is doing?

OK Computer's picture
Offline
Joined: 04/13/2009
Juice: 24
Re: Re: Re: Help with payment method development: from "in_check

I'm using uc_protx (Protx VSP Form), and I'm a bit confused - Protx is receiving the payment fine with no problems, but Drupal thinks that they've not completed checking out. Can't figure out if it's a Workflow problem, but I'm getting the feeling it's more involved in that and maybe a problem with Protx...