Is it possible to set localhost as a Stripe webhook URL?

后端 未结 9 1908
故里飘歌
故里飘歌 2021-02-12 03:36

I am creating a payment gateway using Stripe.

I want to set my localhost url localhost/stripe/webhook.php as my webhook url. Is it possible to set a localho

9条回答
  •  -上瘾入骨i
    2021-02-12 04:12

    Yes It is Possible to to test a strip web hook on local host Go to this URL https://dashboard.stripe.com/test/webhooks/ and Open your End point For i.e https://test.com/api/StripeHook and Now Open your Webhook atempt which is succeeded by strip and copy all json code.

    Now Run your project in local host and open postman and hit https://localhost/api/StripeHook and put all copied json text in body data of post man.

提交回复
热议问题