Web Analytics

Fill the form & Get Installation Support

Add credit card form in checkout page in Magento 2

Before following the below steps you need to create the custom payment method module.

Step 1) Create a template file – Magemonkey/Chargeanywhere/view/frontend/web/template/payment/chargeanywhere.html

Step 2) Magemonkey/Chargeanywhere/view/frontend/web/js/view/payment/method-renderer/chargeanywhere-method.js

Step 3) create the di.xml file Magemonkey/Chargeanywhere/etc/frontend/di.xml

Step 4) create the config provider file Magemonkey/Chargeanywhere/Model/Chargeanywhere.php


Step 5) override checkout index file Magemonkey/Chargeanywhere/view/frontend/layout/checkout_index_index.xml

Step 6) Create system.xml file Magemonkey/Chargeanywhere/etc/adminhtml/system.xml


Step 7) Create config.xml file Magemonkey/Chargeanywhere/etc/config.xml


Step 8) Create payment action file Magemonkey/Chargeanywhere/Model/Config/Source/Order/Action/Paymentaction.php

Step 9) Create order status file Magemonkey/Chargeanywhere/Model/Config/Source/Order/Status/Pendingpayment.php


Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Hire s. dutt

    Get a Free Quote

      /* second popup */

      Connect With Us