Hello,
I am facing a problem that I am not able to match the checkout process (AJAX API) with the orders/paid webhook.
Firstly, we have tried to put a note into the cart via AJAX API Update cart note. However, this note is not shown in orders/paid webhook.
Secondly, I tried to match it using cart_token. Getting it from AJAX API Get cart. Sending and storing it in our database and then matching it with the order since cart_token is also present in orders/paid webhook. Unfortunately, the cart_token is changing and I cannot match it.
What would you recommend to use for our use case? Is there any way how to match cart/checkout process with the orders/paid webhook, please? Why is the note or cart_token not working?
I need to:
-
Get some information from the cart (AJAX API) during the checkout process
-
Store this information into our database together with our shoping entity
-
When received
orders/paidwebhook, matching the order with our shoping entity