#Vigiliance-php

1 messages · Page 1 of 1 (latest)

sterile crater
#

what version of stripe-php are you using?

glacial oak
#

I'm using "stripe/stripe-php": "^7.94"

sterile crater
#

we changed the name of the exception classes in a version so you're probably using an older version with the docs for the newer one or vice versa

glacial oak
#

Got it, I'll update and let know you what happens next.

sterile crater
#

my guess would be you're using a version below 7.0.0 somehow, that's usually what's happening when folks have this issue of no exceptions getting caught

glacial oak
#

Err.. Just realized when I tried putting it directly it works.

But when using a function to pass the function as a parameter it did worked differently.

Just been on my end not a stripe issue.
Will debug it now, sorry for taking your time.

Thank you.

sterile crater
#

ah interesting! honestly I'm not hugely familiar with more advanced features of PHP like that but glad you figured it out