Git Product home page Git Product logo

payments-plugin-drupal-commerce-8.x's Introduction

Lunar Online Payments for Drupal 8.x

Supported Drupal Commerce versions

The plugin has been tested with most versions of Drupal Commerce at every iteration. We recommend using the latest version of Drupal Commerce, but if that is not possible for some reason, test the plugin with your Drupal Commerce version and it would probably function properly.

Installation

Once you have installed Drupal Commerce on your Drupal setup, follow these simple steps:

  1. Signup at lunar.app (it’s free)
  2. Create an account
  3. Create an keys for your Drupal website
  4. Upload the contents of the zip file from latest release (https://github.com/lunar/payments-plugin-drupal-commerce-8.x/releases) to the modules directory and enable it on the admin/modules page OR run composer require drupal/commerce_lunar
  5. If the zip file is used, it is required to run compose require lunar/payments-api-sdk before installing the plugin
  6. Add the payment gateway from admin/commerce/config/payment-gateways and select one of the Lunar methods displayed under the Plugin section
  7. Set capture mode to either Delayed or Instant under Capture mode section. `

Updating settings

Under the Lunar payment method settings, you can:

  • Update the payment method text in the payment gateways list
  • Update the payment method description in the payment gateways list
  • Update the title that shows up in the checkout flow
  • Add app & public keys and other required data
  • Change the capture mode (Instant/Delayed)

How to

  1. Capture
  • In "Instant" mode, the orders are captured automatically
  • In "Delayed" mode you can capture an order by using the Payments tab from an order. If available the capture operation will show up.
  1. Refund
  • You can refund an order by using the Payment tab from an order. If available the refund operation will show up.
  1. Void
  • You can void an order by using the Payment operations from an order. If available the void operation will show up.

Available features

  1. Capture
    • Drupal admin panel: full/partial capture
    • Lunar admin panel: full/partial capture
  2. Refund
    • Drupal admin panel: full/partial refund
    • Lunar admin panel: full/partial refund
  3. Void
    • Drupal admin panel: full void
    • Lunar admin panel: full/partial void

payments-plugin-drupal-commerce-8.x's People

Contributors

lucionescu avatar ionutcalaralunar avatar hamastrochimp avatar

Watchers

Peter Hoeg Steffensen avatar Morten avatar Stig Sjøberg 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.