diff --git a/app/views/split_checkout/payment/_stripe_sca.html.haml b/app/views/split_checkout/payment/_stripe_sca.html.haml index 0cfb1c238a..34c4326385 100644 --- a/app/views/split_checkout/payment/_stripe_sca.html.haml +++ b/app/views/split_checkout/payment/_stripe_sca.html.haml @@ -13,6 +13,8 @@ = t('split_checkout.step2.form.stripe.use_new_card') %div{ "data-controller": "stripe", "data-stripe-key": "#{Stripe.publishable_key}" } + = hidden_field_tag "order[payments_attributes][][source_attributes][first_name]", @order.bill_address.first_name + = hidden_field_tag "order[payments_attributes][][source_attributes][last_name]", @order.bill_address.last_name = hidden_field_tag "order[payments_attributes][][source_attributes][month]", nil, { "data-stripe-target": "expMonth" } = hidden_field_tag "order[payments_attributes][][source_attributes][year]", nil, { "data-stripe-target": "expYear" } = hidden_field_tag "order[payments_attributes][][source_attributes][cc_type]", nil, { "data-stripe-target": "brand" }