Open knagode opened 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).
def payment_succeeded(amount)
Subscription
amount
0
Is this a bug or I am doing something wrong?
I setup Stripe webhook URL which is working as expected.
I am overriding method
def payment_succeeded(amount)
inSubscription
model which is triggered as expected but its attributeamount
is always0
(I would expect to get the amount of the charge).Is this a bug or I am doing something wrong?