From cbd7b37eb30f5364a59ea8ec23ef4b011e351895 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Thu, 2 Dec 2021 14:15:26 +0000 Subject: [PATCH] Change card field name The order[card] field is already in use / needed for other data :+1: --- app/views/split_checkout/payment/_stripe_sca.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/split_checkout/payment/_stripe_sca.html.haml b/app/views/split_checkout/payment/_stripe_sca.html.haml index b9eab088e5..639a4370b0 100644 --- a/app/views/split_checkout/payment/_stripe_sca.html.haml +++ b/app/views/split_checkout/payment/_stripe_sca.html.haml @@ -8,7 +8,7 @@ .checkout-input %label = t('split_checkout.step2.form.stripe.use_saved_card') - = select_tag :card, + = select_tag :existing_card, options_for_select(stripe_card_options(@saved_credit_cards) + [[t('split_checkout.step2.form.stripe.create_new_card'), ""]], @selected_card), { "data-action": "change->stripe-cards#onSelectCard", "data-stripe-cards-target": "select" }