Jump to content

[ask] code for change order state


Recommended Posts

helo

 

i need some help.

when my prestashop checkout to credit card payment and then return back to prestashop

i need to put some code for new payment or maybe change order state history (payment accepted).

it makes me automaticaly rather than to it from backend->order , change it manualy..

 

i wondering to make some query sql "insert" to ps_order_history , ps_order_payment , ps_order_invoice_payment and then update order state in ps_orders.

 

but i think maybe you guys have some code more simple rather than what i'm doing up there.

Edited by LAzYZZZ (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...