question

bryangerr avatar image
bryangerr asked kate12aaaq sent

Using webhook for web app

We are building a webapp to automaticly send the reciept to our customer service. We want that this works with a webhook.


I created an API in the https://www.eu.clover.com/ dashboard so we can acces al the data. Now i want to make a webhook that gets fired if a payment is done.

The only place i can find where i can make a webhook is in the development environment. Is this correct and do i need to make a complete app to just register a webhook?

Thanks in advance.


Bryan

Webhooks
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

In order to use web hooks (https://docs.clover.com/docs/webhooks) you must have a Clover application, in this case you a web application (https://docs.clover.com/docs/clover-development-basics-web-app). If your API usage was designed to be used by multiple merchants you need to have an app anyway or else you will be in violation of our terms (the use of merchant tokens is not allowed in production for apps). You can read more about app approval here - https://docs.clover.com/docs/developer-app-approval.



2 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.

bryangerr avatar image bryangerr commented ·

Hi David,


We're using our own web app as a service to retrieve all payments within Clover. The web app is exclusively for our own use and should never be public for other merchants.


The web app we registered in the Clover administration has been validated based on a Request and Response. This worked fine.


Our problem is that when we are making an "test payment", we don't see the payment going through the webhook we created for this purpose. Hopefully you can guide us how to solve this problem.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ bryangerr commented ·

The web app needs to be installed to your merchant - https://docs.clover.com/docs/merchant-interaction#installing-your-test-app. This can only be done in sandbox. In production your app will need to go through our approval process (linked to above) before it can be installed to your merchant. How are you making the test payment?

0 Likes 0 ·
lti avatar image
lti answered

@bryangerr - Have you found a solution for this? Thanks!

10 |2000

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

adrianriv3 avatar image
adrianriv3 answered adrianriv3 edited

If you are also interested in mobile versions, I can tell you that you can even place bets through your phone because it is dripcasino-ca.bet, the best site for this, really impressive games only here, a constant pleasant experience from the game and of course high wins, so definitely check out and rate this site, you will love it!

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