Installation

Install the ChargeAfter Plugin

  1. Download the plugin .zip file, extract into app/code in Magento root directory, to have app/code/Chargeafter/Payment
  2. In Magento root directory, from your CLI, run command: php bin/magento setup:upgrade
  3. Go to Magento2 Admin. The extension appears on the Payment Methods list in Store > Configuration > Sales > Payment Methods:
12981298
  • Or check extension status via CLI: php bin/magento module:status Chargeafter_Payment

🚧

Due to the nature of Magento, you might need to Flush Magento Cache after plugin installation.

Configure as a Payment Method

  1. Go to Magento2 Admin > Store > Configuration > Sales > Payment Methods
  2. Scroll to ChargeAfter payment on Other Payment Methods section:
12701270
  1. Click the Configure button above and update the following configurations:
SettingsDescriptionDefault
Base Settings
Enable this SolutionOnce you complete the configuration, Enable ChargeAfter as a payment method. If it is set to ‘yes’, it appears on Checkout page.No
TitleThe payment method title you 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 see in your checkout page.'chargeafter'
Payment from applicable countriesRestrict the payment method to specific countries.All Allowed Countries
Sort 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’.Sandbox
Production Private API KeyYour private production key. Provided by ChargeAfter.Empty
Production Public API KeyYour public production key. Provided by ChargeAfter.Empty
Sandbox Private API KeyYour private sandbox key. Provided by ChargeAfter.Empty
Sandbox Public API KeyYour public sandbox key. Provided by ChargeAfter.Empty
12721272
  1. View the Checkout page:
832832