Setting PaymentStatusId

A forum where issues related to the DataPort utility can be discussed.
Post Reply
rseavey
Ensign (ENS)
Ensign (ENS)
Posts: 6
Joined: Wed Mar 11, 2009 9:00 am

Setting PaymentStatusId

Post by rseavey » Tue Jul 28, 2009 7:40 am

Trying to import orders via XML with 7.0.3. How is the PaymentStatusId from the ac_Orders table set? I'm setting it to 11 (PaymentStatus enum for completed). However some orders show as "Paid" in Admin Order History, while others show "Completed". Difference looks to be PaymentStatusId (0 = unpaid, 1 = paid?).

Not sure what I'm not doing correctly. Thanks for any advice!

Rick

rseavey
Ensign (ENS)
Ensign (ENS)
Posts: 6
Joined: Wed Mar 11, 2009 9:00 am

Re: Setting PaymentStatusId

Post by rseavey » Mon Aug 03, 2009 6:03 am

Anyone???

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Setting PaymentStatusId

Post by mazhar » Mon Aug 03, 2009 9:11 am

Status is recalculated on the basis of payment and shipment status. So if order contains shipment also mark that as shipped by providing corresponding shipment status id.

Post Reply