lib/pay.rb in pay-6.2.4 vs lib/pay.rb in pay-6.3.0

- old
+ new

@@ -57,9 +57,10 @@ @@enabled_processors = [:stripe, :braintree, :paddle] mattr_accessor :emails @@emails = ActiveSupport::OrderedOptions.new @@emails.payment_action_required = true + @@emails.payment_failed = true @@emails.receipt = true @@emails.refund = true # This only applies to Stripe, therefor we supply the second argument of price @@emails.subscription_renewing = ->(pay_subscription, price) { (price&.type == "recurring") && (price.recurring&.interval == "year")