mollie / magento2-hyva-react-checkout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Open the package.json file and add the following line:

"config": {
  "paymentMethodsRepo": {
    "mollie": "git@github.com:mollie/magento2-hyva-react-checkout.git"
  }
},

Next, run npm install. This should install the repository into your checkout.

Example checkout

When using the regular React checkout then you are done. But if you are using the Hyvä CheckoutExample Module Template, then you need to change the relative paths. For example in src/components/DefaultRenderer.jsx:

- import RadioInput from '../../../../components/common/Form/RadioInput';
+ import RadioInput from '@hyva/react-checkout/components/common/Form/RadioInput';

About

License:BSD 2-Clause "Simplified" License


Languages

Language:JavaScript 100.0%