I created payment gateway STRIPE. When someone places the order using Credit Card, system changes Order status from OPEN to status SENT. Its Automatic!
But is there a way i can set myself which status will be changed after succesfull payment on Stripe.
Or it has always need be SENT and than I have to manually change to some other status everytime?
By default, once payment has been received, the order status changes to Paid (P). It appears that you have renamed this status to Sent. There is nothing wrong with renaming default order statuses as long as their meaning remains the same, as most of the basic statuses are woven into the default processes that take place in CS-Cart.
For example, you can replace
$pp_response['order_status'] = OrderStatuses::PAID;
$pp_response['order_status'] = 'C';
where C - is the letter associated with the required status