Skip to content

Commit

Permalink
Hotfix: Stripe form jQuery selector for error display
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorbg committed Mar 13, 2024
1 parent 6b458a4 commit 7626c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/registrations/_stripe_payment_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<%= f.input :payment_information, label: t("registrations.payment_form.labels.payment_information"), hint: false, wrapper_html: { id: 'payment-element-wrapper' } do %>
<div id="payment-element"></div>
<% end %>
<%= f.input :payment_service_error, label: t('registrations.payment_form.labels.payment_service_error'), hint: false, wrapper_html: { id: 'payment-service-error-wrapper', class: 'text-danger' } do %>
<%= f.input :payment_service_error, label: t('registrations.payment_form.labels.payment_service_error'), hint: false, wrapper_html: { id: 'stripe-error-wrapper', class: 'text-danger' } do %>
<p class="form-control-static" id="stripe-sdk-error"></p>
<% end %>
</div>
Expand Down

0 comments on commit 7626c66

Please sign in to comment.