4 replies [Last post]
stradivari's picture
Offline
Joined: 12/08/2011
Juice: 11
Was this information Helpful?

Could anyone please refer me to any documentation/example of setting up Order workflow with administrator's intervention to approve CC charge while using Drupal7/Ubercart3.

Here's the my use case -
Once in a while supplier doesn't have item that he supposed to send or item should be back-ordered. In this case both - store owner and customer suffer by having charge/refund
Store owner wants instead of charging customer's credit card immediately and then refunding him in case of supplier failure to have option to Approve or Cancel order after inventory confirmation and before it passed to gateway.
So that workflow would be - "add to cart, place order, order approved/canceled, payment processed, item shipped".

Thanks

ravik777's picture
Offline
Joined: 12/24/2011
Juice: 3
Re: Order processing with manual credit card charge

same here!!

longwave's picture
Offline
Joined: 09/20/2008
Juice: 626
Re: Order processing with manual credit card charge

This depends on the gateway you have chosen, but you may be be able to select "Authorisation only" instead of "Authorise and capture immediately" in the payment gateway settings, which will let your administrator only take funds from the customer's account when they are ready to do so. The way you eventually capture the payment and the amount of time you have to do so varies between gateways.

--
These forums are for general support questions about Ubercart.
Bug reports and feature requests should be posted at http://drupal.org/project/issues/ubercart
Latest API documentation can be found at http://api.ubercart.me/

stradivari's picture
Offline
Joined: 12/08/2011
Juice: 11
This is what I found so far..

Since I'm planning to use Authorize.net I checked their API documentation first and found exactly what I need in Advanced Integration Method (AIM) (which btw is included in a basic Auth.net $20/month package).
When using AIM methodology you have two relevant methods -
AUTH_ONLY where you provide CC details and amount and get TRANSACTION ID# that can be stored on your website and will expire in 30 days (this is what happens when customer click PROCEED WITH CHARGE)
PRIOR_AUTH_CAPTURE can complete AUTH_ONLY transaction. You just provide TRANSACTION ID# and perform actual amount CAPTURE (this is what happens when you click APPROVE CHARGE)

The only caveat hear is that this will work "either all or nothing" meaning that if you have authorization for $XXX amount for YY-items you either APPROVE all or CANCEL all.
You cannot remove just "Item 1" and change updated Amount. In this case you'll need to authorize again (i.e. provide CC details and new amount)
But if store owner is OK to have this as an exception (that can be handled by manual contacting customer) AIM is the solution.

Now back to Ubercart. It looks like AIM is supported by uc_auth module.
While I'm mostly MS/.NET-guy I'm installing Zend environment to be able to debug and fully understand the process below the hood.
In worst case I will have to dig in to PHP and do it myself or.....may be even move from Drupal to something else. Payment system is extremely important part in e-commerce solution. So far I found Ubercart not very mature or friendly. While you must agree payment system has to work like Swiss watch here.

Anyways I will try to keep this thread updated.

peterjhon's picture
Offline
Joined: 05/15/2012
Juice: 4
merchant business

Now Ubercart is integrated with eBay payment gateway. It support for the eBay token API, eBay Beagle anti-fraud.now you can process your order easily.
______________________________________________________________
www.total-apps.com