PayPro has created a direct integration to Magento 2. This way you can use PayPro payments for your Magento webshop. These include:
- Master Card
- Bank transfer
- Sofort Digital
In the following, this article presents you a step-by-step plan on how to integrate these payments into Magento.
1) Downloading the Plugin
For downloading the PayPro plugin and connecting it to Magento, you first go to paypro.com and login to your PayPro account.
After you logged in, you land on your PayPro dashboard.
Click then on “Integrate Webshop” in the left menu bar, followed by “Through webshow” to start the integration. Enter the name and URL of your online store and choose Magento as well as the typ of product and the preferred language for the checkout page.
When you then continue, you see an overview of the integration steps for the Magento plugin. Start with the download of the plugin file from the first step.
Afterwards, you open the zip file in your programming terminal and make 3 entries to complete the installation. Those specific entries are also shown below or alternatively on GitHub.
Magento 2 uses Composer to manage module dependencies. We can also use Composer to install the module.
- Run the following command in your Magento directory:
$ composer require paypro/magento2
2. Run the setup command of Magento:
$ php bin/magento setup:upgrade
> php bin/magento cache:clean
3. If you run Magento in production mode make sure to recompile the static files:
$ php bin/magento setup:di:compile
> php bin/magento setup:static-content:deploy
3) Connecting the two systems via API
After the installation is completed you go to paypro.com and login to your PayPro account. After you logged in, you land on your PayPro dashboard.
Click then on “Integrate Webshop” in the left menu bar, followed by “Through webshow” to start the integration. Enter the name and URL of your online store and choose Magento 2, as well your type of product and preferred language for the checkout page.
When you then continue, you see an overview of the integration steps for the Magento plugin. You have already completed the download and installation of the plugin so continue with the API key that is shown in bold below. Please copy this one, we need it in a minute. Before we return to Magento, click twice on “continue” to first have the additional option to increase your revenue by promoting your products with our affiliate program and then to complete the payment connection on PayPro’s side.
3) Activate the Payments
Go back to your WordPress account, paste the API key, save changes, and activate the payment methods in the general section of the payment gateways. Click on "Save changes" and this is all. Now the activated payment methods are available for your customers in your webshop.
Whenever you still have any difficulties or questions feel free to start a chat (right blue button) or contact us at email@example.com. We are happy to help!