Our app is now available on iOS and Android

  • Search

    Adding PartPay to Magento 2

    Download File PartPay-M2-1.1.0

    The following sections detail how to install manually via file provided by PartPay

    1. Download the plugin
    2. Copy the Magento 2 plugin folder “MR” to %magento2%/app/code. The folder structure is shown below:
    3. Enable the PartPay Magento 2 plugin by adding
      “MR_PartPay => 1“ to “%magento2%\app\etc\config.php”

    4. Run following commands via command prompt.
      cd %magento2%
      php bin/magento setup:upgrade
      php bin/magento setup:staticcontent:
    5. Navigate to the Magento 2 Payment Methods page (Stores > Configuration > Sales > Payment Methods)
    6. Find MR PartPay payment method
    7. Fill in and complete all fields
      – Set Enabled to Yes to enable the plugin
      – Enter your Client ID provided by Partpay
      – Enter your Client Secret provided by Partpay- Enter the API Endpoint by which the ecommerce website connect to the proper env
      Sandbox – https://api-ci.partpay.co.nz/
      Production – https://api.partpay.co.nz/– Enter the Auth Token Endpoint by which the ecommerce website authorise with the proper env
      Sandbox – https://merchant-auth-sandbox.partpay.co.nz/oauth/token
      Production – https://merchant-auth.partpay.co.nz/oauth/token– Enter the API Audience depending what stage the website is on
      Sandbox – https://auth-dev.partpay.co.nz
      Production – https://auth.partpay.co.nz– Set Debug Mode to Yes to enable detailed info into daily basis log files
      – Set Merchant Name to get correct version of widget script at product and cart pages
    8. The calculator widgets are all ready to go once the plugin is activated. If you wish to hide the widgets or change their display position – you can work with the two layout files below:
      Product page: %M2_root_path%/app/code/MR/PartPay/view/frontend/layout/catalog_product_view.xml
      Cart page: %M2_root_path%/app/code/MR/PartPay/view/frontend/layout/checkout_cart_index.xml

    PartPay Limited, Level 3, 33-45 Hurstmere Road, Takapuna, Auckland.

    09 489 8144 info@partpay.co.nz