From 1aa98dc5882bf57cb2867df23bf478372986ca18 Mon Sep 17 00:00:00 2001 From: Alvaro Bueno Date: Wed, 18 Aug 2021 16:46:52 -0400 Subject: [PATCH] fix: keep stripe method Signed-off-by: Alvaro Bueno --- custom/paymentMethods.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/custom/paymentMethods.js b/custom/paymentMethods.js index 43cd4f554..682f8a5ca 100644 --- a/custom/paymentMethods.js +++ b/custom/paymentMethods.js @@ -1,19 +1,21 @@ -// import ExampleIOUPaymentForm from "@reactioncommerce/components/ExampleIOUPaymentForm/v1"; -// import StripePaymentInput from "@reactioncommerce/components/StripePaymentInput/v1"; - +import ExampleIOUPaymentForm from "@reactioncommerce/components/ExampleIOUPaymentForm/v1"; +import StripePaymentInput from "@reactioncommerce/components/StripePaymentInput/v1"; import StripeCard from "components/StripeCard"; - const paymentMethods = [ - /* { displayName: "IOU", InputComponent: ExampleIOUPaymentForm, name: "iou_example", shouldCollectBillingAddress: true - } - */ + }, { displayName: "Credit Card", + InputComponent: StripePaymentInput, + name: "stripe_card", + shouldCollectBillingAddress: true + }, + { + displayName: "Credit Card (SCA)", InputComponent: StripeCard, name: "stripe_payment_intent", shouldCollectBillingAddress: true