mollie/magento2-hyva-compatibility

Hyvä Themes Compatibility module for Mollie Payments

Installs: 11 646

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 8

Forks: 5

Open Issues: 0

Language:HTML

Type:magento2-module

2.1.1 2024-03-06 10:48 UTC

This package is auto-updated.

Last update: 2024-04-06 11:05:47 UTC


README

68747470733a2f2f696e666f2e6d6f6c6c69652e636f6d2f68756266732f6769746875622f6d6167656e746f2d322f6c6f676f2e706e67

General Hyvä Compatibility for Mollie

About Mollie Payments

With Mollie, you can accept payments and donations online and expand your customer base internationally with support for all major payment methods through a single integration. No need to spend weeks on paperwork or security compliance procedures. No more lost conversions because you don’t support a shopper’s favourite payment method or because they don’t feel safe. We made our products and API expansive, intuitive, and safe for merchants, customers and developers alike.

Mollie requires no minimum costs, no fixed contracts, no hidden costs. At Mollie you only pay for successful transactions. More about this pricing model can be found here. You can create an account here. The Mollie Magento 2 plugin quickly integrates all major payment methods ready-made into your Magento webshop.

About this repository

This repository hold the module to add support for Mollie to Hyvä. This module has a dependency on the Mollie Magento 2 module.

If you are using the Hyvä Checkout module, we have a separate repository for that: https://github.com/mollie/magento2-hyva-checkout

If you are using the Hyvä React Checkout module, we have a separate repository for that: https://github.com/mollie/magento2-hyva-react-checkout

Installation

  1. Install the module using composer:
composer require mollie/magento2-hyva-compatibility
  1. Enable the module:
bin/magento module:enable Mollie_HyvaCompatibility
  1. Upgrade the database:
bin/magento setup:upgrade
  1. Let Hyvä know about the new module:
php bin/magento hyva:config:generate
  1. Generate the CSS files:
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run ci
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run build-prod

Or from your theme:

npm --prefix app/design/frontend/<Vendor>/<Theme>/web/tailwind run ci
npm --prefix app/design/frontend/<Vendor>/<Theme>/web/tailwind run build-prod

Missing styles?

Make sure that PostCSS uses the postcssImportHyvaModules plugin in your theme:

  1. Go to your theme folder: app/design/frontend/<Vendor>/<Theme>/web/tailwind
  2. Install the module:
npm install --save-dev @hyva-themes/hyva-modules
  1. Open your postcss.config.js and add this as the first line:
const { postcssImportHyvaModules } = require("@hyva-themes/hyva-modules");
  1. Make sure the plugin is includes in the plugins list:
module.exports = {
    plugins: [
        postcssImportHyvaModules,
        // ...
    ],
};