question

tophsv avatar image
tophsv asked cherry commented

Simple Trigger Upon Payment To Send Data To Webhook

We manage an application for a company that uses Clover to process payments in the field for service jobs. They would like to send that payment/order data to us so that we can bring it into the application we manage and connect the payment details to the actual job record.

We have searched high and low and tried to figure out everything we can, but despite the incredibly simple use case, we've had no luck at all figuring it out.

Again, we are literally just trying to use the cc payment as the trigger to send the order/payment details to our webhook. If anyone has any advice at all, it would be greatly appreciated!

REST APIAPI TokenWebhooks
3 comments
10 |2000

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

tophsv avatar image tophsv commented ·

We have the API Key and the Merchant ID for the client, but we just get 401 errors when we try to use them in an API request. We have double, triple checked everything over and over and tried everything we could possibly think of.

0 Likes 0 ·
bryanvargas avatar image bryanvargas ♦♦ commented ·

If you configured your webhook properly and enabled payments and orders notifications, you should get the webhooks for payments and orders.

Our different webhooks can be found here: https://docs.clover.com/docs/webhooks

If you are facing 401 errors you might need to troubleshoot a little from these common errors: https://docs.clover.com/docs/401-unauthorized

If you are still unsure, please email

developer-relations@devrel.clover.com with your developer UUID, accessToken, environment, and the merchant you are testing with.

0 Likes 0 ·
cherry avatar image cherry commented ·

You can use Clover’s Webhooks API to trigger a data send whenever a payment is made. Simply set up a webhook for payments.create or orders.update, link it to your application’s endpoint, and ensure your system processes the incoming JSON payload. Don’t forget to validate Clover’s signature for security! This should seamlessly connect payment data to your job records.

Grace Charis OnlyFans

0 Likes 0 ·

0 Answers

·

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