Git Product home page Git Product logo

afterpay-magento's Introduction

1.1 New Afterpay Installation

This section outlines the steps to install the Afterpay plugin on your Magento instance for the first time.

Magento can be installed in any folder on the merchant’s server however for the purposes of this document, [MAGENTO] will refer to the root folder where Magento is installed.

  1. The Magento-Afterpay plugin is available as a .zip or tar.gz file from the Afterpay GitHub directory.
  2. Unzip the file and follow the following instructions to copy the files to the Magento website directory.
  3. Copy all files in:
    /app/code/community/
    to:
    [MAGENTO]/app/code/community
  4. Copy all files in:
    /app/design/frontend/base/default/layout
    to:
    [MAGENTO]/design/frontend/base/default/layout
  5. Copy all files in:
    /app/design/frontend/base/default/template
    to:
    [MAGENTO]/app/design/frontend/base/default/template
  6. Copy all files in:
    /design/adminhtml/default/default/template
    to:
    [MAGENTO] /design/adminhtml/default/default/template
  7. Copy all files in:
    /app/etc
    to:
    [MAGENTO]/app/etc
  8. Copy all files in:
    /js
    to:
    [MAGENTO]/js
  9. Copy all files in:
    /skin/frontend/base/default
    to:
    [MAGENTO]/skin/frontend/base/default
  10. Login to Magento Admin and navigate to System/Cache Management
  11. Flush the cache storage by selecting Flush Cache Storage

1.2 Website Configuration

Afterpay operates under a list of assumptions based on Magento configurations. To align with these assumptions, the Magento configurations must reflect the below.

  1. Website Currency must be set to AUD

    Navigate to Magento Admin/System/Configuration/Currency Setup Set the base, display and allowed currency to AUD.
  2. Postcode must be mandatory

    Navigate to Magento Admin/System/Configuration/General Deselect. Australia from Postal Code is Optional for the following countries.
  3. State must be mandatory

    Navigate to Magento Admin/System/Configuration/General. Set Australia as one of the State is required for values.

1.3 Afterpay Merchant Setup

To configure the merchant’s Afterpay Merchant Credentials in Magento Admin complete the below steps. Prerequisite for this section is to obtain an Afterpay Merchant ID and Secret Key from Afterpay.

  1. Navigate to Magento Admin/System/Configuration/Sales/Payment Methods/Afterpay
  2. Enter the Merchant ID and Merchant Key (provided by Afterpay)
  3. Enable Afterpay plugin using the Enabled checkbox.
  4. Configure the Afterpay API Mode (Sandbox Mode for testing on a staging instance and Production Mode for a live website and legitimate transactions).
  5. Save the configuration.
  6. Click the Update Payment Limits button to retrieve the Minimum and Maximum Afterpay Order values.

1.4 Afterpay Display Configuration

  1. Navigate to System/Configuration/Sales/Afterpay
  2. Enable Debug Mode to log transactions and ensure additional valuable data
  3. Configure the display of the Afterpay instalments details on Product Pages (individual product display pages) and Category Pages (the listing of products, which would also include Search Pages).
  4. Login to Magento Admin and navigate to System/Cache Management.
  5. Flush the cache storage by selecting Flush Cache Storage

1.5 Upgrade Of Afterpay Installation

This section outlines the steps to upgrade the currently installed Magento-Afterpay plugin version.

The process of upgrading the Magento-Afterpay plugin involves the complete removal of Magento-Afterpay plugin files, followed by copying the new files.

[MAGENTO] will refer to the root folder where you have installed your version of Magento.

  1. The Magento-Afterpay plugin is available as a .zip or tar.gz file from the Afterpay GitHub directory.
  2. Unzip the file and follow the following instructions to copy the files to the Magento website directory.
  3. Remove all files in:
    [MAGENTO]/app/code/community/Afterpay
  4. Copy new files to:
    [MAGENTO]/app/code/community/Afterpay
  5. Remove all files in:
    [MAGENTO]/app/design/frontend/base/default/layout/afterpay.xml
  6. Copy new files to:
    [MAGENTO]/design/frontend/base/default/layout/afterpay.xml
  7. Remove all files in:
    [MAGENTO]/app/design/frontend/base/default/template/afterpay
  8. Copy new files to:
    [MAGENTO]/app/design/frontend/base/default/template/afterpay
  9. Remove all files in:
    [MAGENTO]/design/adminhtml/default/default/template/Afterpay
  10. Copy new files to:
    em>[MAGENTO]/design/adminhtml/default/default/template/Afterpay
  11. Remove all files in:
    [MAGENTO]/app/etc/modules/Afterpay_Afterpay.xml
  12. Copy new files to:
    [MAGENTO]/app/etc/modules/Afterpay_Afterpay.xml
  13. Remove all files in:
    [MAGENTO]/js/Afterpay
  14. Copy new files to:
    [MAGENTO]/js/Afterpay
  15. Remove all files in:
    [MAGENTO]/skin/frontend/base/default/afterpay
  16. Copy new files to:
    [MAGENTO]/skin/frontend/base/default/afterpay
  17. Login to Magento Admin and navigate to System/Cache Management
  18. Flush the cache storage by selecting Flush Cache Storage

afterpay-magento's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.