I haven't worked with authorize.net or pccharge, the explanation inline is general.
- Abdullah On Wed, Dec 23, 2009 at 9:48 AM, Mauricio Tavares <[email protected]>wrote: > This is an easy question but I am completely confused: how do I > cancel/void and order? What I have noticed is that when you select an order > in the order manager that might have already be validated (or not), and you > have *not* captured it yet, it will show a [Cancel] button just before an > [Authorize] and a [Capture]. That [Cancel] button seems to call > document.CancelOrderPaymentPreference_10011.submit(). > To cancel/void an order, you can use the [Cancel] button which gets displayed just before an [Authorize] and a [Capture] button. > > Once the capture is done, the [Cancel] and the [Authorize] buttons are > gone. Now, there is also a [Cancel Order] button on the top of the screen > (close enough) at all times, which then calls document.OrderCancel.submit(). > Pressing either cancel buttons does not send a void (or any transaction for > that matters) to the payment gateway; it is only removing the selected order > from the list shown by the order manager. That does not make sense to me. > Yes, once the captute is done, the [Cancel] and the [Authorize] buttons won't be displayed as the payment is already Captured and you can't Cancel/Void or Authorize an already Captured payment. The [Cancel Order] button, the one at the top, should actually Cancel the order and also send a Refund request to the payment gateway, I guess [Cancel Order] button is displayed only once the payment is captured. It doesn't remove the order from the list, actually the list is filtered, you can select the filter option to display Cancel order or All orders. > So how will the customer get his/hers/its money back? I tested that with > authorized.net and pccharge (using the patch created by Marco Risaliti) > and they both behave the same way. > The customer should get back the money in 2 ways one is Cance/Void or if already Captured, then through Refund, as explained above. Hope this help. - Abdullah
