5 replies [Last post]
eliosh@drupal.org's picture
Offline
Joined: 05/18/2009
Juice: 16
Was this information Helpful?

Hi to all.
Prior to change my actual ecommerce site to ubercart i need to know if it's possible to activate payment for a order only if a "user with admin order permission" confirm availability of products.
I'm selling body massage and i don't have a "digital" agenda with availability.
So the scenario will be:

  1. A user choose from the catalog what kind of massage he like
  2. Than select the date & time he'd like to have the massage(s)
  3. Admin receives email and:
    • If date&time are available, than "unblock" the order, and user can proceed to online payment
    • If date&time are NOT available, then propose another date&time solution (or deny order, to make things simpler)

Keep in mind that admin is not always online, so the user can't wait on webpage for confirmation, but will receive an email with details (can proceed to payment / select another date / order denied)

I hope to read some positive responses

ps. i'm a php/drupal coder, so no problem to create a module by myself. But, if this is the only way, it'll be soooo kind to have some tips on hooks to implements.

Thanks a lot to everyone Smiling

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Admin must confirm order before payment

It's no problem to allow people to place orders that don't require payment. You just don't have to turn the payment checkout pane on. Then you can add the appropriate text in checkout messages to indicate that orders will be confirmed and they will receive e-mail notification. You can even automate the e-mails by using Conditional Actions and working on order statuses... i.e. the administrator updates the order to an order status that indicates availability.

The tricky part will be accepting payment for orders that have already been placed. Until now, Ubercart has not had any modules that enable this. That's where your custom coding would have to come in...

wahidtanner's picture
Offline
Joined: 05/14/2009
Juice: 20
Re: Re: Admin must confirm order before payment

I just setup PayPal for my site and remember that there is an option to pay by email invoice. Would that work? Once the admin approves the appointment, then go to PayPal and send an email with payment instructions to the customer. The customer gets the email, makes the payment and the admin then changes the status of the order to complete and sends a confirmation email about the appointment.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Admin must confirm order before payment

That would work, you'd just need some manual verification of payments. But I guess since you're manually verifying orders, that's not a big deal. Smiling

You could also simply authorize payments and then capture them later if the slot is available. If not, then you can just void the payment and notify the customer that their payment wasn't accepted as the timing didn't work out.

eliosh@drupal.org's picture
Offline
Joined: 05/18/2009
Juice: 16
Thanks Ryan, i've understand

Thanks Ryan,
i've understand all u said.

One question based on your reply:

Ryan wrote:

It's no problem to allow people to place orders that don't require payment. You just don't have to turn the payment checkout pane on.

Can i enable the checkout pane dynamically? So i can enable it only when admin confirm order... Smiling

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Thanks Ryan, i've understand

Well, not really, because by that time the customer can't complete the checkout process for that same order a second time.