Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Real Time Success / Failure feature for Payment  (Read 7150 times)

Offline James

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +9/-0
    • View Profile
Real Time Success / Failure feature for Payment
« 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...
echo $james;

Offline elpas0

  • Newbie
  • *
  • Posts: 13
  • Karma: +3/-0
    • View Profile
Re: Real Time Success / Failure feature for Payment
« Reply #1 on: January 03, 2012, 07:31:19 AM »
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);


 

Powered by SMFPacks Social Login Mod