Released under the MIT license: https://opensource.org/licenses/MIT
You can also find information about the plugin here: https://lunar.app
The plugin has been tested with most versions of Opencart at every iteration. We recommend using the latest version of Opencart 3, but if that is not possible for some reason, test the plugin with your OpenCart version and it would probably function properly.
*NOTE: It requires PHP version >=7.4
Once you have installed OpenCart, follow these simple steps:
- Signup at lunar.app (it’s free)
- Create an account
- Create an app key for your OpenCart website
- Upload the lunar.ocmod.zip file from the Github release in the extensions uploader.
- Log in as administrator and click "Extensions" from the top menu then "extension" then "payments" and install the Lunar plugin by clicking the
Install
link listed there. - Click the Edit Lunar button
- Select a store for your configuration
- Add the Public and App key that you can find in your Lunar account and enable the plugin
- Save the settings
Under the extension settings, you can:
- Choose the OpenCart store to make settings for
- 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 payment popup
- Add public & app keys
- Change the capture type (Instant/Delayed)
- Change the order statuses that the orders will get after a certain payment action is done (authorization/capture/refund/cancel)
In Delayed mode you can make transactions (full capture, refund, cancel) from admin panel, for each order info page, adding a history to the order.
The Order Status
that is wanted to be set for specific transaction must be identical with that set in Lunar extension page (Advanced section/tab). By default it is Completed
for capture, Refunded
for refund and Voided
for cancel an order.
-
Capture
- In Instant mode, the orders are captured automatically
- In Delayed mode you can do this in admin panel, order info page, adding
Completed
order status history to the order.
-
Refund
- In Delayed mode you can do this in admin panel, order info page, adding
Refunded
order status history to the order.
- In Delayed mode you can do this in admin panel, order info page, adding
-
Cancel
- In Delayed mode you can do this in admin panel, order info page, adding
Voided
order status history to the order.
- In Delayed mode you can do this in admin panel, order info page, adding
- The Lunar multi-store functionality allows the merchant to have different sets of keys for each store.
- You need to have a separate merchant account for a single store to keep Lunar transactions for each store independently.
- Capture
- Opencart admin panel: full capture
- Lunar admin panel: full/partial capture
- Refund
- Opencart admin panel: full refund
- Lunar admin panel: full/partial refund
- Cancel
- Opencart admin panel: full cancel
- Lunar admin panel: full/partial cancel
- Changed flow to hosted checkout + Added MobilePay payment method
- Initial version