Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

195
Views
Stripe Webhook JSON_DECODE no funciona (500)

Tengo problemas para que funcionen los webhooks de banda, este es mi código:

 require_once('/var/www/html/application/views/config.php'); \Stripe\Stripe::setApiKey("sk_test_***********"); $input = @file_get_contents("php://input"); $event_json = json_decode($input); //$event = \Stripe\Event::retrieve($event_json->id);

Verifiqué que $input está recibiendo los datos json, pero la variable $event_json siempre está vacía.

Estoy realmente confundido por esto, parece que json_decode no funciona a pesar de que $ input contiene los datos correctos.

¿Alguien puede arrojar algo de luz sobre esto?

¡Gracias por adelantado!

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!