Install the Magento extension (Download extension) by copy and paste the extension files into the Magento folder.
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:
API Endpoint: https://api.partpay.co.uk/
Auth Token Endpoint: https://partpay.eu.auth0.com/oauth/token
API Audience: https://auth.partpay.co.uk
Dev/Sandbox Test Configuration:
API Endpoint: https://api-ci.partpay.co.uk/
Auth Token Endpoint: https://partpay-dev.eu.auth0.com/oauth/token
API Audience: https://auth-dev.partpay.co.uk
Here are some brief instructions and code snippet to add the widgets.
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.
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.