question

ventavo avatar image
ventavo asked bryanvargas answered

Hosted Checkout - Webhook Tracking

We are building the order on our side and then creating a hosted checkout page. Once the payment is made we are getting a webhook which is all working well, but I don't see a field we can use to match the order on our side. I don't see a way to pass a reference field when we create the checkout session. We are getting the checkout session ID, but not sure where we could get that from the webhook side. Any ideas?

clover developer communityecommerce
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
bryanvargas avatar image
bryanvargas answered

You can use the payment ID to get the order ID. If you have the webhook enabled, it should give you a paymentID in the response. You can then take that id and run the:


/v3/merchants/{ {mId}}/payments/{ {paymentId}}


10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community