Stripe Error: No signatures found matching the expected signature for payload

前端 未结 5 1036
眼角桃花
眼角桃花 2021-01-03 19:02

I have a stripe webhook that call a Firebase function. In this function I need to verify that this request comes from Stripe servers. Here is the code :

cons         


        
5条回答
  •  梦谈多话
    2021-01-03 19:28

    I was able to obtain data from one webhook but not from a second one: the problem was that the secret key I used was the same as the one used for the first webhook, but I found out that every webhook has a different key, that's way I got that same message.

提交回复
热议问题