Question

How to send Webhook events from postman?

  • 1 February 2023
  • 1 reply
  • 84 views

Badge

I successfully managed to integrate RevenueCat with the Firebase extension, and working properly the events are sent to Firebase. But it’s hard to test some event types so I would like to send events from postman through the Webhook url:

{"code":1,"message":"Incoming RevenueCat webhook could not be authenticated. Please check that the shared secret is set up correctly."}

I have the shared secret added to header: Authorization: Bearer shared_secret_here

(Shared secret is from the google cloud which is connected our app from Firebase)

And added the webhook url the same as the Firebase integration webhook.

Here is the Firestore rules:


 

The firebase functions integrations are working properly, but I cannot make the same work with webhook, what am I missing? (not even test events)

 

 


1 reply

Userlevel 3
Badge +7

it’s hard to test some event types so I would like to send events from postman through the Webhook url

Could you let us know what event types are hard to test through sandbox?

Could you share an example curl request that is resulting in the error?

We recommend just testing through sandbox all the time, since it guarantees RevenueCat and Firebase are connected properly.

Reply