in reply to Re^2: EyeBall stumps BodBall
in thread EyeBall stumps BodBall (Error Handling)
presumably to avoid confusion from a spurious error property set by an earlier method call. Is that right?
Spot on...
I also noticed your get_subscription method does not do this. Is this a bug?
Well spotted, yes it is a bug. It has been corrected in my code locally. Although I suppose I should have done that on GitHub!
In case it helps, another minor issue I noticed is the return value of your check_signature method is not documented
It helps a lot thank you.
As it says in the documentation, there shouldn't be any need to call this method. Originally I was going to have it as a private method but decided that there may be a use case for checking Stripe signatures outside of the workflow that's documented. So, in the end it became a public method.
The return values have now been added to POD in my local copy.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: EyeBall stumps BodBall
by eyepopslikeamosquito (Archbishop) on Jul 24, 2023 at 08:58 UTC | |
by Bod (Parson) on Aug 01, 2023 at 22:24 UTC | |
by eyepopslikeamosquito (Archbishop) on Aug 02, 2023 at 02:49 UTC | |
by hippo (Archbishop) on Aug 02, 2023 at 12:49 UTC |