PHPackages                             lagant/charge-after - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lagant/charge-after

ActiveMagento2-module

lagant/charge-after
===================

N/A

1.0.0(5y ago)00PHPPHP ~7.1.3||~7.2.0||~7.3.0

Since Apr 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lagant/charge-after)[ Packagist](https://packagist.org/packages/lagant/charge-after)[ RSS](/packages/lagant-charge-after/feed)WikiDiscussions develop Synced 6d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

chargeafter-magento2-module-payment
===================================

[](#chargeafter-magento2-module-payment)

Magento 2 install extension using command line
----------------------------------------------

[](#magento-2-install-extension-using-command-line)

Your Magento 2.x extensions can be installed in a few minutes by going through these following steps:

1. Download/purchase the extension (like zip or tar.gz archive)
2. Login to your Magento 2.x Hosting site using SSH connection (for details contact your hosting provider)
3. After successful SSH login, using the command line (shell), open the Magento root directory where Magento 2.x is installed
4. Create directory app/code/Chargeafter/Payment:
    - `mkdir –p app/code/Chargeafter/Payment`
5. Upload Extension (as Zip or tar.gz) to your Magento 2.x installation root directory
6. Unzip Extension file in directory app/code/Chargeafter/Payment:
    - `unzip package.zip -d  app/code/Chargeafter/Payment`
7. Remove Extension file from Magento 2.x installation root directory:
    - `rm  package.zip`
8. Run the Magento 2.x install command from root:
    - `php bin/magento setup:upgrade`
9. The module should now be installed and visible:
    - `php bin/magento module:status Chargeafter_Payment`

Magento 2 extension configuration
---------------------------------

[](#magento-2-extension-configuration)

1. Login to the Magento 2 Admin Dashboard
2. Go to Store &gt; Configuration &gt; Sales &gt; Payment Methods.
3. All installed payment methods will appears in this section.
4. Click on OTHER PAYMENT METHODS section and click "Configure" button and update the following configurations.

SettingsDescriptionDefault**Base Settings**Enable this SolutionOnce you completed the configuration, Enable Charge After as a payment method. If it is set to ‘yes’, it will appear on Checkout Page.NoTitleThe payment method title that you will see in your checkout page.'Chargeafter payment'DescriptionThe payment method description that appears in the checkout below the payment method title.'Your description goes here'LogoThe payment method logo that you will see in your checkout page.No ImagePayment from applicable countriesRestrict the payment method to specific countries.All Allowed CountriesSort OrderThe order in which this payment method is displayed in the list of payment methods in the checkout. To change order, enter any number greater than 0.Empty**API Settings**Mode/EnvironmentThis is the environment that you are using. If you are in testing mode, use ‘Sandbox’ and if in live mode use ‘Production’.SandboxProduction Private API KeyYour private production key. Provided by ChargeAfter.EmptyProduction Public API KeyYour public production key. Provided by ChargeAfter.EmptySandbox Private API KeyYour private sandbox key. Provided by ChargeAfter.EmptySandbox Public API KeyYour public sandbox key. Provided by ChargeAfter.Empty[![img.png](README/img.png)](README/img.png)Creating a Widget
-----------------

[](#creating-a-widget)

The process of creating a widget is nearly the same for each widget type. You can follow the first part of the instructions, and then complete the last part for the specific type of widget you want.

[![](https://camo.githubusercontent.com/b98d2882925c63d5c78d6094bda0adfc799bc046a018786eb5fff7f0095084a8/68747470733a2f2f646f63732e6d6167656e746f2e636f6d2f757365722d67756964652f696d616765732f696d616765732f776964676574732e706e67)](https://camo.githubusercontent.com/b98d2882925c63d5c78d6094bda0adfc799bc046a018786eb5fff7f0095084a8/68747470733a2f2f646f63732e6d6167656e746f2e636f6d2f757365722d67756964652f696d616765732f696d616765732f776964676574732e706e67)

### Step 1: Choose the type

[](#step-1-choose-the-type)

1. On the Admin sidebar, go to Content &gt; Elements &gt; Widgets.
2. Click `Add Widget`.
3. In the Settings section:
    - Set Type to the widget type - "Chargeafter Payment Promotional Widget"
    - Verify that Design Theme is set to the current theme. [![README/img2.png](README/img2.png)](README/img2.png)
4. Click `Continue`.

### Step 2: Specify storefront properties and layout

[](#step-2-specify-storefront-properties-and-layout)

1. In the Storefront Properties section:
    - For Widget Title, enter a descriptive title for the widget.
        This title is visible only from the Admin.
    - For Assign to Store Views, select the store views where the widget will be visible.
        You can select a specific store view, or All Store Views. To select multiple views, hold down the Ctrl key (PC) or the Command key (Mac) and click each option.
    - (Optional) For Sort Order, enter a number to determine the order this item appears with others in the same part of the page. (0 = first, 1 = second, 3 = third, and so on.)

[![](https://camo.githubusercontent.com/a2e2a0980015d67e5f70aa5d8fe5a8aad7a47fecd717075ee3e1b28909f917ce/68747470733a2f2f646f63732e6d6167656e746f2e636f6d2f757365722d67756964652f696d616765732f696d616765732f7769646765742d73746f726566726f6e742d70726f706572746965732e706e67)](https://camo.githubusercontent.com/a2e2a0980015d67e5f70aa5d8fe5a8aad7a47fecd717075ee3e1b28909f917ce/68747470733a2f2f646f63732e6d6167656e746f2e636f6d2f757365722d67756964652f696d616765732f696d616765732f7769646765742d73746f726566726f6e742d70726f706572746965732e706e67)

2. In the Layout Updates section, click `Add Layout Update`.
3. Set Display On to the type of page where it is to appear.
4. In the Container list, choose the area of the page layout where it is to be placed. [![](https://camo.githubusercontent.com/d829f69af519106311d4031b6e03a7808c82b0ad3c9af185a8e24d9a782dc734/68747470733a2f2f646f63732e6d6167656e746f2e636f6d2f757365722d67756964652f696d616765732f696d616765732f7769646765742d6c61796f75742d7570646174652d686f6d652d706167652e706e67)](https://camo.githubusercontent.com/d829f69af519106311d4031b6e03a7808c82b0ad3c9af185a8e24d9a782dc734/68747470733a2f2f646f63732e6d6167656e746f2e636f6d2f757365722d67756964652f696d616765732f696d616765732f7769646765742d6c61796f75742d7570646174652d686f6d652d706167652e706e67)

### Step 3: Complete the widget options

[](#step-3-complete-the-widget-options)

1. In the left panel, choose Widget Options.
2. Choose **Type**
    - **product-widget**
        [![](https://camo.githubusercontent.com/80b09b5a8c9eeb7572f4197f8e815d8206374c2af749ff531b0f1953d6f09fa0/68747470733a2f2f66696c65732e726561646d652e696f2f643966306636342d70726f647563742d7769646765742e737667)](https://camo.githubusercontent.com/80b09b5a8c9eeb7572f4197f8e815d8206374c2af749ff531b0f1953d6f09fa0/68747470733a2f2f66696c65732e726561646d652e696f2f643966306636342d70726f647563742d7769646765742e737667)
    - **product-widget-line-of-credit**
        [![](https://camo.githubusercontent.com/9f421964cee4bc45888057b76bb6ffc7b15fe98ab5259a4badc3355e32e5cfbc/68747470733a2f2f66696c65732e726561646d652e696f2f333362386532322d70726f647563742d7769646765742d6c696e652d6f662d6372656469742e737667)](https://camo.githubusercontent.com/9f421964cee4bc45888057b76bb6ffc7b15fe98ab5259a4badc3355e32e5cfbc/68747470733a2f2f66696c65732e726561646d652e696f2f333362386532322d70726f647563742d7769646765742d6c696e652d6f662d6372656469742e737667)
    - **product-widget-installments**
        *Or $34/month for 36 months. Learn More*
    - **textual**
        *Pay as low as $45.99 a month. Buy with ChargeAfter*
    - **banner-horizontal**[![](https://camo.githubusercontent.com/58e8961a0642501a9664b09a677ab385f5632fec345c8d5762a8a2db8d0e95da/68747470733a2f2f66696c65732e726561646d652e696f2f366537636633342d62616e6e65722d686f72697a6f6e74616c2e737667)](https://camo.githubusercontent.com/58e8961a0642501a9664b09a677ab385f5632fec345c8d5762a8a2db8d0e95da/68747470733a2f2f66696c65732e726561646d652e696f2f366537636633342d62616e6e65722d686f72697a6f6e74616c2e737667)
    - **banner-vertical**
        [![](https://camo.githubusercontent.com/fb5cc1ead08c7fbf8b45dcfae0fca6b85848531513d132df89c4977a9376bb13/68747470733a2f2f66696c65732e726561646d652e696f2f613862336535612d62616e6e65722d766572746963616c2e737667)](https://camo.githubusercontent.com/fb5cc1ead08c7fbf8b45dcfae0fca6b85848531513d132df89c4977a9376bb13/68747470733a2f2f66696c65732e726561646d652e696f2f613862336535612d62616e6e65722d766572746963616c2e737667)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1853d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2287801?v=4)[lagan](/maintainers/lagan)[@Lagan](https://github.com/Lagan)

---

Top Contributors

[![lagant](https://avatars.githubusercontent.com/u/8722376?v=4)](https://github.com/lagant "lagant (17 commits)")

### Embed Badge

![Health badge](/badges/lagant-charge-after/health.svg)

```
[![Health](https://phpackages.com/badges/lagant-charge-after/health.svg)](https://phpackages.com/packages/lagant-charge-after)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

109501.7k1](/packages/amzn-amazon-pay-magento-2-module)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2128.3k7](/packages/pagbank-payment-magento)[paynl/magento2-plugin

Pay. Payment methods for Magento 2

30311.2k5](/packages/paynl-magento2-plugin)[xcoreplatform/xcore-magento2

This module extends the rest api of Magento2 and is needed for the usage of the xCore.

1330.0k2](/packages/xcoreplatform-xcore-magento2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
