Skip to content

Commit

Permalink
fix: keep stripe method
Browse files Browse the repository at this point in the history
Signed-off-by: Alvaro Bueno <alvaro.bueno@mailchimp.com>
  • Loading branch information
delagroove committed Aug 18, 2021
1 parent c4227f0 commit 1aa98dc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions custom/paymentMethods.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1aa98dc

Please sign in to comment.