Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from lunar/hosted-checkout
Browse files Browse the repository at this point in the history
Migrated to Hosted checkout flow & added MobilePay method
  • Loading branch information
lucionescu authored Jan 25, 2024
2 parents d4b0cc6 + d61c6b7 commit 5d06bb2
Show file tree
Hide file tree
Showing 79 changed files with 2,130 additions and 5,475 deletions.
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
# Joomla HikaShop plugin for Lunar
# Lunar Online Payments for HikaShop

The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement.


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

Hikashop version last tested on: 4.4.5 (& Joomla 4.0.5)

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

## Note for version 2.0.0
1. Before installing the new version, make sure you have processed all orders paid through "Lunar".
1. Please keep in mind that orders not processed by the old "Monthly" method will no longer be able to be processed by the new method.
1. It will be necessary to check and adjust the settings for the "Monthly" payment method if you have such a method already created.

## Installation

Once you have installed HikaShop on your Joomla setup, follow these simple steps:
1. Signup at [lunar.app](https://lunar.app (it’s free)
1. Signup at [lunar.app](https://lunar.app) (it’s free)
1. Create an account
1. Create an app key for your Joomla website
1. Upload the ```lunar.zip``` and ```lunarstatus.zip``` trough the Joomla Admin
1. Upload the `lunar_0.0.0.zip` and `lunarstatus_0.0.0.zip` files from the latest [release](https://github.com/lunar/payments-plugin-hikashop/releases) trough the Joomla Admin (where 0.0.0 is the form of the current version of the plugin)
1. Activate both plugins through the 'Extensions' screen in Joomla.
1. Under HikaShop payment methods create a new payment method and select Hikashop `Lunar Payment Plugin`.
1. Insert the app key and your public key in the settings for the Lunar payment gateway you just created
1. Under HikaShop payment methods create a new payment method and select `HikaShop Lunar Payment Plugin`.
1. Please pay attention on selecting proper `payment method` in the settings
1. Insert your app key and public key in the settings for the Lunar payment gateway you just created


## Updating settings

Under the Hikashop 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 payment popup
Under the HikaShop Lunar payment method settings, you can:
* Update the payment method name & description in the payment gateways list
* Update the shop title that shows up in the hosted checkout page
* Add public & app keys
* Change the capture type (Instant/Delayed)

Expand All @@ -36,7 +37,7 @@ Under the Hikashop Lunar payment method settings, you can:
These actions can be made from an order view, click Edit on order Main Information section and select the status indicated bellow from Order status field.

1. Capture
* In Instant mode, the orders are captured automatically
* In Instant mode, the orders are captured automatically (the status of the order will remain as set in the "Confirmed Status" recorded in the settings)
* In delayed mode you can capture an order by moving the order to the `shipped` status.
2. Refund
* To refund an order move the order into `refunded` status.
Expand All @@ -45,11 +46,11 @@ These actions can be made from an order view, click Edit on order Main Informati

## Available features
1. Capture
* Hikashop admin panel: full capture
* HikaShop admin panel: full capture
* Lunar admin panel: full/partial capture
2. Refund
* Hikashop admin panel: full refund
* HikaShop admin panel: full refund
* Lunar admin panel: full/partial refund
3. Void
* Hikashop admin panel: full void
* HikaShop admin panel: full void
* Lunar admin panel: full/partial void
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog
All notable changes to this project will be documented in this file.

## 2.0.0 - 2024-01-24
- Changed payment flow to hosted checkout & added mobilepay method

## 1.0.0 - 2022-04-19
- Initial commit
11 changes: 11 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "lunar/payments-plugin-hikashop",
"description": "Lunar Online Payments for HikaShop",
"license": "MIT",
"authors": [
{
"name": "Lunar",
"email": "[email protected]"
}
]
}
Binary file removed lunar.zip
Binary file not shown.
90 changes: 0 additions & 90 deletions lunar/Lunar/Adapter.php

This file was deleted.

30 changes: 0 additions & 30 deletions lunar/Lunar/Card.php

This file was deleted.

50 changes: 0 additions & 50 deletions lunar/Lunar/Client.php

This file was deleted.

Loading

0 comments on commit 5d06bb2

Please sign in to comment.