Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pay-rails/pay
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jul 28, 2023
2 parents 674840a + 0d3c34c commit 16786d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/2_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Pay.setup do |config|
config.emails.payment_failed = true
config.emails.receipt = true
config.emails.refund = true
# This example for subscription_renewing only applies to Stripe, therefor we supply the second argument of price
# This example for subscription_renewing only applies to Stripe, therefore we supply the second argument of price
config.emails.subscription_renewing = ->(pay_subscription, price) {
(price&.type == "recurring") && (price.recurring&.interval == "year")
}
Expand Down

0 comments on commit 16786d4

Please sign in to comment.