[feat] remove unintended check; add auto-redirect to non-free ticket
This commit is contained in:
parent
1ca58961c1
commit
da8939dd3a
4 changed files with 24 additions and 21 deletions
|
|
@ -19,7 +19,7 @@
|
|||
%td
|
||||
= humanized_money_with_symbol ticket.quantity * ticket.price
|
||||
|
||||
= form_tag conference_payments_path do
|
||||
= form_tag conference_payments_path(@conference.short_title, :has_registration_ticket => @has_registration_ticket) do
|
||||
%script.stripe-button{'src': "https://checkout.stripe.com/checkout.js",
|
||||
'data': {amount: @total_amount_to_pay.cents,
|
||||
label: "Pay #{humanized_money_with_symbol @total_amount_to_pay}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue