Skip to content

hyva-themes/magento2-react-checkout-offline-payments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

magento2-react-checkout-offline-payments

Magento 2 offline payment method renderers for Hyvä React Checkout

Prerequisites

  1. Hyvä React Checkout (version >= 1.0.8) is installed and setup with your Magento site.

Installation steps

  1. Go to your package.json of Hyvä React Checkout and add below configuration.

    File: src/reactapp/package.json

    "config": {
        "paymentMethodsRepo": {
            "offline": "[email protected]:hyva-themes/magento2-react-checkout-offline-payments.git"
        }
    },
    
  2. Run npm install. This will do all necessary setup for you.

  3. Run npm run build to build a new version of the build js file which will now include this payment renderer.

  4. You can include following translations via layout xml file.

    File: view/frontend/layout/hyvareactcheckout_reactcheckout_index.xml

    <referenceBlock name="checkout.translations">
        <arguments>
            <argument name="checkout_translations" xsi:type="array">
                <item name="hyva_react_checkout_offline" xsi:type="string">
                    <![CDATA[Purchase Order Number,Purchase order number is a required field.,Make Check payable to:,Send Check to:]]>
                </item>
            </argument>
        </arguments>
    </referenceBlock>
    

Supported Offline Payment Methods

Magento 2 offline methods are Check / Money order, Bank transfer, Cash on delivery and Purchase order. All methods are now supported.

More Reading

Credits

Special thanks to integer_net for building the initial release of this Magento2 offline payment methods for the Hyvä React Checkout!

integer_net GmbH

License

BSD 3-Clause License. Please see License File for more information.

About

Offline payment methods for the Hyvä React Checkout

Resources

License

Stars

Watchers

Forks

Packages

No packages published