I have a drupal 8 / commerce 2 shop with online payment. Whenever a payment is made, I call the event 'commerce_order.place.pre_transition' to do stuff (ordernumber, ...) Now, the online payment also allows for non-synchronous payment... Therefore it is possible that when the site is in maintenance mode (updates) a payment received is sent to the site (but not received by the site -- maintenance mode). Is there a way I can manually call the event 'commerce_order.place' and have all the stuff in my modules happen automatically? For now I have changed SQL data directly (status= completed). Other thougths about this asynchronous payment issue are also welcome! Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.