Skip to content

Commit fe24fb0

Browse files
[Donation Tiers] Fix donations only being charged once
1 parent cac15e4 commit fe24fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/donations_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def start_donation
8080

8181
authorize @donation
8282

83-
@monthly = params[:monthly].present?
83+
@monthly = params[:monthly].present? || params[:tier_id].present?
8484

8585
if @monthly
8686
@recurring_donation = @event.recurring_donations.build(

0 commit comments

Comments
 (0)