After checkout, an order record is added into DB, and I have a post fetch request in both afterInsert() and afterUpdate(), but I haven’t received the request from my server. I’m wondering will the hook functions be called after checkout? and if there is any way I can debug it, for example, see console.log() somewhere, as it’s backend code, so they are not logged out in browser.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Do the Store databases not support the afterInsert hook? | 0 | 85 | August 1, 2019 | |
Are hooks called if I change database values from within the database? | 2 | 123 | February 1, 2019 | |
Data hooks not working with "submit" action | 3 | 621 | August 26, 2018 | |
Is afterInsert really after insert? | 3 | 313 | May 8, 2021 | |
Data Hooks side effects | 1 | 153 | October 11, 2018 |