Skip to content

mollie/magento2-hyva-react-checkout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

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';