> For the complete documentation index, see [llms.txt](https://docs.ippopay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ippopay.com/ecommerce-integrations/magento.md).

# Magento

## **Prerequisites**

* Sign up for a IppoPay account.
* Generate the API keys from the [IppoPay Dashboard](https://app.ippopay.com/dashboard) by navigating to Settings and then API Keys. You can use the Test mode keys for testing and later switch to Live mode keys when going live with the integration.

## Integration Steps

### Step 1: Install Extension

#### Installation Without Composer

* Download the code.zip file from the [latest release](https://marketplace.magento.com/ippopay-paymentgateway.html). Extract the zip.
* Place the code folder from Step 1 in your app folder. If you're performing an update, replace/overwrite the existing code folder.
* Enable and deploy the IppoPay module using commands
  * `bin/magento module:enable Ippopay_PaymentGatway`
  * `bin/magento setup:upgrade`
  * ~~`bin`~~`/magento cache:flush`&#x20;

### Step 2: Configure Magento Store

To configure your Magento store for IppoPay Payments&#x20;

1. Log into your Magento store.
2. Choose Stores on the Admin sidebar to the left. Now go to Settings > Configuration.
3. In the Configuration page, click on Sales on the left and choose Payment Methods.
4. In the Payment Methods page, navigate to IppoPay.
5. Enter your test mode \[PUBLIC\_KEY] and \[SECRET\_KEY]. These can be generated from your [Dashboard](https://app.ippopay.com/signin).
6. Select Yes for the option Enabled.
7. Click Save Config. This activates your account in the Test Mode. You can use this account to make a few test payments to ensure a successful workflow.&#x20;

**Note: In test mode, no real money is deducted from your account.**

### Step 3: Accept Live Payments

After testing your Magento store, when you are ready to accept live payments:

1. [Generate the \[PUBLIC\_KEY\] and \[SECRET\_KEY\]](https://app.ippopay.com/settings/api) in the Live mode on your IppoPay Dashboard.
2. Enter the Live mode \[PUBLIC\_KEY] and \[SECRET\_KEY] in your Magento store.
