2100 Posted February 6, 2023 Share Posted February 6, 2023 I have been writing a payment module for a provider. Most things are done and works. I call the validateOrder method to create an order in a database. I have a front controller to validate a POST request from the provider. The only problem I have is that I am not sure how to mark an order as paid. Is there a special method to call? It is enough to set a proper status? Is there something else to do? I haven’t find this information in documentation. This action is absent in the example module too. Link to comment Share on other sites More sharing options...
ebonit Posted February 17, 2023 Share Posted February 17, 2023 you add a new OrderHistory with status 2. this will set the order to paid Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now