Ok, so if it were me, I’d read the contacts most recent order (or get it from the backend database if it already existed). Then the upsell could be both added to IS and the DB at the same time. I’ve had to solve for similar cases before and the trick isn’t so much in being able to code for it but rather knowing where you can exploit the information at the right time.
John_Borelli
(John Borelli)
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Webhooks : Send all successful orders to a PHP script endpoint | 4 | 1174 | March 26, 2019 | |
| We're not getting purchased product data from order form | 1 | 472 | July 10, 2020 | |
| Problem receiving webhooks | 1 | 424 | March 19, 2020 | |
| Fill out Web Form Submitted via webhook | 5 | 116 | May 24, 2024 | |
| Woocommerce Webhook procedure/flow how to use this API | 5 | 1579 | July 19, 2017 |