lib/pay/stripe.rb in pay-6.6.1 vs lib/pay/stripe.rb in pay-6.7.0
- old
+ new
@@ -96,10 +96,10 @@
events.subscribe "stripe.customer.subscription.deleted", Pay::Stripe::Webhooks::SubscriptionDeleted.new
# When a customers subscription trial period is 3 days from ending or ended immediately this event is fired
events.subscribe "stripe.customer.subscription.trial_will_end", Pay::Stripe::Webhooks::SubscriptionTrialWillEnd.new
- # Monitor changes for customer's default card changing
+ # Monitor changes for customer's default card changing and invoice credit updates
events.subscribe "stripe.customer.updated", Pay::Stripe::Webhooks::CustomerUpdated.new
# If a customer was deleted in Stripe, their subscriptions should be cancelled
events.subscribe "stripe.customer.deleted", Pay::Stripe::Webhooks::CustomerDeleted.new