#rahulc-webhook

1 messages · Page 1 of 1 (latest)

low bear
#

Hey, can you share an event ID?

timber apex
#

evt_3KslC2BmXU1Bmc5J1o9bw2K1

timber apex
#

hii

#

r u there ?

low bear
#

Yep, please be patient. Pretty busy in here

#

Can you share your webhook code? It seems its returning that HTML somehow

timber apex
#

ok

#

require 'stripe/init.php';

$stripe = new \Stripe\StripeClient(
  'sk_test_
);

$payload = @file_get_contents('php://input');

$sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE'];


retun $payload;

die;
low bear
#

Hmm, seemingly some kind of server configuration issue

#

Is that definitely a POST endpoint?

timber apex
#

yes, we i get post request over here

low bear
#

Something in your server configuration is intercepting the event request and returning that HTML before it hits your PHP handler

timber apex
#

let me check , nd get back with u