Code Monkey home page Code Monkey logo

afterpay-magento-2's Introduction

1.1 New Afterpay Installation

This section outlines the steps to install the Afterpay plugin for the first time.

Note: [MAGENTO] refers to the root folder where Magento is installed.

  1. Download the Magento-Afterpay plugin - Available as a .zip or tar.gz file from the Afterpay GitHub directory.
  2. Unzip the file
  3. Copy the 'Afterpay' folder to:
    [MAGENTO]/app/code/
  4. Open Command Line Interface
  5. In CLI, run the below command to enable Afterpay module:
    php bin/magento module:enable Afterpay_Afterpay
  6. In CLI, run the Magento setup upgrade:
    php bin/magento setup:upgrade
  7. In CLI, run the Magento Dependencies Injection Compile:
    php bin/magento setup:di:compile
  8. In CLI, run the Magento Static Content deployment:
    php bin/magento setup:static-content:deploy
  9. Login to Magento Admin and navigate to System/Cache Management
  10. Flush the cache storage by selecting Flush Cache Storage

1.2 Afterpay Merchant Setup

Complete the below steps to configure the merchant’s Afterpay Merchant Credentials in Magento Admin.

Note: Prerequisite for this section is to obtain an Afterpay Merchant ID and Secret Key from Afterpay.

  1. Navigate to Magento Admin/Stores/Configuration/Sales/Payment Methods/Afterpay
  2. Enter the Merchant ID and Merchant Key.
  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 Limits button to retrieve the Minimum and Maximum Afterpay Order values.

1.3 Upgrade Of Afterpay Installation

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

The process of upgrading the Afterpay plugin version involves the complete removal of Afterpay plugin files.

Note: [MAGENTO] refers to the root folder where Magento is installed.

  1. Remove "Afterpay" folder in: [MAGENTO} /app/code/
  2. Download the Magento-Afterpay plugin - Available as a .zip or tar.gz file from the Afterpay GitHub directory.
  3. Unzip the file
  4. Copy the 'Afterpay' folder to:
    [MAGENTO]/app/code/
  5. Open Command Line Interface
  6. In CLI, run the below command to enable Afterpay module:
    php bin/magento module:enable Afterpay_Afterpay
  7. In CLI, run the Magento setup upgrade:
    php bin/magento setup:upgrade
  8. In CLI, run the Magento Dependencies Injection Compile:
    php bin/magento setup:di:compile
  9. In CLI, run the Magento Static Content deployment:
    php bin/magento setup:static-content:deploy
  10. Login to Magento Admin and navigate to System/Cache Management
  11. Flush the cache storage by selecting Flush Cache Storage

afterpay-magento-2's People

Watchers

 avatar  avatar

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.