pay: No signature found and invoice settings problems
First of all, thanks for such a wonderful gem. I’m integrating it for our SaaS project, and few things are not clear to me, or rather maybe could not figure out it from the docs.
I have started to test webhook integration with ngrok, and I’m getting this error when payload comes to the webhook endpoint.
No signatures found matching the expected signature for payload
As I can see on Google, people usually read the raw request body to validate properly.
The second problem is when I try to call the subscribe method, it says:
NoMethodError (undefined method `invoice_settings' for #<Stripe::Customer:0x00007fdf103c0a90>):
Subscriptions worked in the beginning (I could see them inside of Stripe dashboard properly) but now this exception happens.
Did anyone encounter similar issues?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (1 by maintainers)
I was getting the same error:
NoMethodError (undefined method `invoice_settings' for #<Stripe::Customer:0x00007fdf103c0a90>):I can confirm that I deleted the customer object from the Stripe dashboard immediately before getting the error. It makes sense that you cannot call
invoice_settingson aStripe::Customerthat doesn’t exist. Unsetting theprocessor_idon theBillablemodel should fix the issue.