andrewculver / koudoku

Robust subscription support for Rails with Stripe.
MIT License
1.16k stars 187 forks source link

Webhooks - Subscription.payment_created(amount) #170

Open knagode opened 8 years ago

knagode commented 8 years ago

I setup Stripe webhook URL which is working as expected.

I am overriding method def payment_succeeded(amount) in Subscription model which is triggered as expected but its attribute amount is always 0 (I would expect to get the amount of the charge).

Is this a bug or I am doing something wrong?