AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: James on December 30, 2011, 10:11:54 AM
-
Dear Team,
A quick query, i am not sure if this exist, if this does not exist it would make a good feature.
Does the payment modules extensions support real time update of the payments status?
For example, if user A buys products makes the payment thru Payment Gateway xYz, and there is a provision from the payment gateway to use webservices either to call or recieve, the status of the payments.
Please do advice...
-
Hello James
Yes, payment modules support such feature
For example you can check PayPal Website Payment Pro
In settings you can choose order status for success payment
In extensions\default_pp_pro\storefront\controller\responses\extension\default_pp_pro.php
there is a send method, which send request to paypal site and in case of success change/update order status
$this->model_checkout_order->update($this->session->data['order_id'], $this->config->get('default_pp_pro_order_status_id'), $message, FALSE);