View Single Post
  #2  
Old 11-02-2017, 04:56 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: X-cart-5 Order not update based on payment gateway response

Hi Shri,

Did you try to run a test payment module described here:
http://devs.x-cart.com/en/changing_store_logic/creating_a_payment_method/

Does it have the same problem or does it work fine for you?

Aside from that, I see you do not have call of parent::processReturn() method in your processReturn() implementation. It may be the reason why it does not work properly.

Tony

Quote:
Originally Posted by Shri@2c2p
Hello ,

I am working creating custom payment module using X-cart 5 where I can purchase items using various payment methods. When customer places the order, an entry is made to Order table
but that that order is not being displayed on the order history list.

When I manully update following column values for that record then it will gets displayed.
Column Names : shipping_status_id , is_order.

I also configured the Paypal stranded payment method but it also has same issue. Any thoughts on this?

I have below code to handle the payment gateway response and update the order status



Thanks,
Shri
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote