1801
Extensions and Add-Ons / Re: Payment failed flow
« on: March 13, 2013, 12:58:40 AM »
to see orders with status id 0 check extension Abandoned orders in menu Extensions->Extension Store.
NO. Type does not mean that fee amount must be applied to something.
I mean that I have chosen any type of the handling fee. It will also apply the handling fee to the order. In my opinion, type "Fee" should be applied to shipping or payment handling fee, type "sub-total" should be applied to sub-total, type "total" should be applied to order final total amount, type "discount" should be applied to sub-total and a discount should be given but it doesn't work. all the orther types are the same result.
You should better add a description to explain the purpose of each "type" in the extension.
Thank you.
UPDATE `YOUR_DB_PREFIXextensions` SET `key`='handling' where `key`='handling_fee'
Hi
Im writing an extension to support a new payment method but got some issues below:
1. If a payment transaction failed, I need to record the error message in the order backend for administrator reference.
$this->model_checkout_order->update($cart_id, $this->config->get('default_checkout_frame_order_status_id'), $Message, FALSE);
For this Im assuming I need to confirm that order using $this->model_checkout_order->confirm()
This will clear the shopping cart and wont let the customer try the payment again
What I want is to save error message returned from gateway to the admin backend + allow the customer to retry payment again for that failed order
Anyone knows how to do this?
Or is there any specific page designed only to display error messages like checkout/failed ??
if($this->request->post['gateway_error']){
$error_text = $this->request->post['gateway_error'];
$error = new AError($error_text);
$error->toLog()->toDebug()->toMessages();
}
so bad, can you fix bug for me, check out page doesn't work , i can give you admin pass