How can I match the checkout process with the 'orders/paid' webhook?

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:

  1. Get some information from the cart (AJAX API) during the checkout process

  2. Store this information into our database together with our shoping entity

  3. When received orders/paid webhook, matching the order with our shoping entity

1 Like

Having trouble with this also, did you ever find a solution?

1 Like