News:

AbanteCart v1.4.2.1 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - sandeep

#1
Extensions and Add-Ons / Re: Payment failed flow
March 12, 2013, 08:30:57 PM
Thx I tried your suggestions

I noticed that if order status_id=0, the order is not visible in the admin panel for the administrator to view.
I get errors from a gateway callback and need to keep track of them for admin + display them to customers. Saving them in the error log is not very aesthetic and very difficult to manage for administrators.

And if I change the order status_id to a failed status, it wont allow the customer to process the order again which is a bad workflow.
Cannot let customers to re-add their products in cart and retry payment.(unfortunately this is my only current solution :( )

Its a bad design for not displaying all orders in the admin panel.

#2
Extensions and Add-Ons / Payment failed flow
March 10, 2013, 11:28:56 PM
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 ??


Forum Rules Code of conduct
AbanteCart.com 2010 -