Payment Status Api Cs-Cart

Hello!

How can i see if an order was paid or not?

I mean, how can i see the status of payment? For example, if a customer buy a product and it pays with credit Card, untill the payment is done, how can i see the status? If the payment is not processed (maybe an error) .

Is any filed in order Response, in api from where i can see that?

Thanks a lot!

Have a nice day!

Hello

The "status" field in table "?:orders" contains information about it. If the status is "P" it means the order has been paid.

Best regards

Robert

Find details about status value in API here

https://docs.cs-cart.com/latest/developer_guide/api/entities/orders.html