6 replies [Last post]
zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Was this information Helpful?

Hi there,

The admin order creation is awesome, each time I use it and I show it to customer I and they are impressed.

However there is a little thing that would be very usefull : When you create an order for a customer with admin, you have to choose a payment method. With check or COD, it works perfectly, the customer can pay later but for paypal, credit card, and lots of others are non usable.

So, when you select this kind of payment and with a defined order status (pending for example), the user should see in "my account", in the order history, a link "proceed payment".

So I open a thread to share ideas about this functionnality : If it should be included in core or if we have all hook we need to make it in a module. What option we should have etc....

Basically, I would see options to select, for each payment the order status that would show the link "proceed payment" on the customer account page. If the customer click on "proceed payment", the customer pay for the order as usual.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Let the admin create the command, and the customer pay

I think this would be a great core addition, and it could indeed start out as a contrib and get folded in in the future. I don't know what it would fully entail, but basically there ought to be a payment terminal page that logged in users can get directed to for orders they have placed that still need payment. The tricky thing is how to figure out an order should be marked in need of payment through the website...

The hardest thing, though, is probably hooking into the many ways for payment to be submitted. Right now, they rely on the checkout form, and some form alters even depend on the form ID. Just throwing up a random form that can redirect someone to PayPal isn't always going to work.

Then you're also going to have to take into account what to do after payment for the various payment types... for example, how to send someone back from PayPal to the right page letting them know payment has been entered.

It's because there are so many issues here to make it flexible that I haven't spent much time figuring out how to bring it into core. It might be wiser just to design it for your specific needs and then put it up as a contrib that folks can modify for their needs.

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Re: Re: Let the admin create the command, and the customer pay

I thought a new custom order workflow for example 'awaiting payment', and in the user page, if he have an order with this status and a positive balance, it should have a link that redirect on the checkout page already filled up, and he just have to choose the payment system he want.

like that, you re-use the ubercart payment gateway. The most tricky thing is to redirect the user in an already filled checkout form.. don't know.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Let the admin create the command, and the customer p

I'll sit on it and see what I can come up with... I may be needing something similar, so I'll post here if I get any bright ideas. Eye-wink

justin's picture
Offline
Joined: 01/31/2008
Juice: 22
Any update?

Any update on this? I'm in need of this functionality as well. If nobody has started working on it, I'm considering doing the coding.

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Re: Any update?

Hmm I don't think if ubercart provide enought hook to do that (I think yes, but not sure). But it could be a really great contribution.

I don't have time to spend on it and it's not a critical need for my customers so I will not take the project, but It's definitelly a way I want to go, so I will help you as much as I can to make it if you want to make the contrib.

grindflow's picture
Offline
Joined: 12/15/2010
Juice: 85
Re: Re: Any update?

I'm hoping somewhere, someone found a way.... my modification of the uc_reorder to achieve this is pretty barbaric