Magento 2 PayPal Account per Customer Group

Magento 2 PayPal Account per Customer Group extension allows accepting online payments from different customer groups in different bank accounts from the customers in Magento 2 store.

 

Table of Content

  1. Extension Installation
  2. Configuration
  3. Paypal Account per Customer Group in the Frontend

 

  1. Extension Installation
  • For Magento Marketplace Customers
  • Create a folder structure in Magento root as app/code/Meetanshi/PaypalAlt
  • Download and extract the zip folder and upload our extension files to the app/code/Meetanshi/PaypalAlt via FTP.
  • Login to your SSH and run below commands step by step:
  • php bin/magento setup:upgrade
  • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
  • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
  • php bin/magento cache:flush

 

  • For Meetanshi Customers
  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Login to your SSH and run below commands step by step:
  • php bin/magento setup:upgrade
  • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
  • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
  • php bin/magento cache:flush

 

  1. Configuration
    To configure the extension, login to Magento 2, move to Stores à Configuration à Meetanshi à PayPal Account per Customer Group where you can find various settings to enable the extension.
  • PayPal Account per Customer Group: Enable PayPal Account per Customer Group extension from here.
  • Customer Group wise PayPal Account Setup: Set the customer group wise Paypal account.
    • Customer Group: Select any of the customer groups.
    • API Username: Enter your PayPal API username provided by Paypal while registration.
    • API Password: Enter your PayPal API password provided by Paypal while registration.
    • API Signature: Enter your PayPal API signature provided by Paypal while registration.

 

Note: The extension only works with PayPal Express Checkout method and you must have configured the payment method in Magento 2 before using our extension.

  1. Paypal Account per Customer Group in the Frontend
    Once the extension is configured, the user can select the Paypal payment method and get redirected to the PayPal hosted payment page. The amount will automatically be paid to the PayPal account based on the Customer Group wise PayPal Account Setup and the customer group in which the customer resides.