X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Assign order status based on payment method (https://forum.x-cart.com/showthread.php?t=76543)

watersidesoln 09-18-2018 04:27 PM

Assign order status based on payment method
 
We use purchase orders and credit cards as payment types. We simply want any order with payment type of Purchase Order to be assigned to a different payment status. Something like "Awaiting Payment". Instead they are all being marked as "Paid". In reality this is not true for Purchase Orders because the customer must still be invoiced.

Any easy way to change this or modules that could accomplish this? Using 5.3.5.

qualiteam 09-19-2018 04:34 AM

Re: Assign order status based on payment method
 
Hi there.
If you are using the default 'Purchase Order' payment method in X-Cart 5.3, all orders processed with this one will receive 'Awaiting Payment' and will stay there until you manually switch it to 'Paid'.


Do you have 'Custom Order Statuses' module installed?

watersidesoln 09-19-2018 05:33 AM

Re: Assign order status based on payment method
 
I have tested with both Custom Order Statuses enabled and disabled. Purchase order always shows a payment status of Paid and fulfillment status of Will Not Deliver.

watersidesoln 09-19-2018 06:24 AM

Re: Assign order status based on payment method
 
Another update - the POS module was causing the problem. I have disabled it and Purchase Order payment methods are working as you would expect.

qualiteam 09-21-2018 11:20 AM

Re: Assign order status based on payment method
 
Great that you found the origin of the issue.
I briefly looked at the POS module documentation and couldn't find any mention this is an intended behavior.
If you consider this a bug feel free to report it to the public bugtracker at https://bt.x-cart.com


Thank you.


All times are GMT -8. The time now is 12:27 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.