Adding PartPay to Magento

Installation

Install the Magento extension (Download extension) by copy and paste the extension files into the Magento folder.

Configuration

The extension installs PartPay as a Magento Payment Method.

All configurations are under:

Magento admin > System > Configuration > Payment Methods > PartPay

To enable PartPay, just enable the payment method and put in the Client ID, Client Secret, and Merchant Name provided in the email.

And please make sure that the configuration for the extension are as follows:

 

Production/Live Configuration:

API Endpoint: https://api.partpay.co.nz/

Auth Token Endpoint: https://partpay.au.auth0.com/oauth/token

API Audience: https://auth.partpay.co.nz

Dev/Sandbox Test Configuration:

API Endpoint: https://api-ci.partpay.co.nz/

Auth Token Endpoint: https://partpay-dev.au.auth0.com/oauth/token

API Audience: https://auth-dev.partpay.co.nz

Calculator Widgets

Here are some brief instructions and code snippet to add the widgets.

Product Page:
Snippet to add to the product view template:

<?php echo Mage::helper(‘mr_partpay’)->getProductWidgetHtml() ?>

Example: this snippet can be added to app/design/frontend/rwd/default/template/catalog/product/view.phtml
Technically this snippet can be added to anywhere in the product view template depending on where the customer want the widget to show.

Cart Page:
Code snippet to add:

<?php echo Mage::helper(‘mr_partpay’)->getCartWidgetHtml() ?>

Example: This snippet can be added to app/design/frontend/rwd/default/template/checkout/cart.phtml
This widget is functional site wide, it can be added to any template file site wide. It will calculate with the totals in cart.

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

09 489 8144 info@partpay.co.nz