Coder Social home page Coder Social logo

lyra / plugin-prestashop Goto Github PK

View Code? Open in Web Editor NEW
2.0 10.0 4.0 3.58 MB

An open source plugin that links PrestaShop based e-commerce websites to PayZen secure payment gateway developed by Lyra Network.

Home Page: https://lyra.com/fr/guides/prestashop/

License: Academic Free License v3.0

PHP 74.49% Smarty 22.82% CSS 0.32% JavaScript 2.03% HTML 0.34%
payzen secure lyra-network lyra payment e-commerce

plugin-prestashop's Introduction

PayZen for PrestaShop

PayZen for PrestaShop is an open source plugin that links e-commerce websites based on PrestaShop to PayZen secure payment gateway developed by Lyra Network.

Installation

To install the module, follow these steps:

  • Goto Modules > Module manager menu in PrestaShop Back Office.
  • Click on Upload a module button and select the module ZIP.

In older PrestaShop versions:

  • Goto Modules & services menu in PrestaShop Back Office.
  • Upload payzen directory to [PRESTASHOP]/modules/ via FTP or upload module ZIP from PrestaShop backend interface.
  • Click on install button corresponding to the PayZen module entry.

Upgrade

To update the payment module, either follow the installation section or follow these steps:

  • Upload payzen directory to [PRESTASHOP]/modules/ via FTP.
  • Goto Modules > Module manager menu in PrestaShop Back Office (Modules & services in old PrestaShop versions).
  • Click on Upgrade button corresponding to the PayZen module entry.

Configuration

To configure the payment module, click on Configure button corresponding to PayZen payment module entry. The payment module configuration interface is composed of several sections. Enter your gateway credentials in GENERAL CONFIGURATION section.

License

Each PayZen payment module source file included in this distribution is licensed under the Academic Free License (AFL 3.0).

Please see LICENSE.txt for the full text of the AFL 3.0 license. It is also available through the world-wide-web at this URL: https://opensource.org/licenses/afl-3.0.php.

plugin-prestashop's People

Contributors

hchabane21 avatar nabil509 avatar nberhouche avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin-prestashop's Issues

Wrong order status for cancelled refund

Hi, when a refund is cancelled from Lyra BO, the module sets the order status to "Cancelled". In this case the status should not change and moreover should not change to "Cancelled". Indeed the cancellation may be due to an error or the refund may be made by another means.

Thank you !

Impossible to get a service from the hook validate order

Hello,

We are working with sogecommerce module. We using the hook actionValidateOrder in another module and we see that using $this->get('my.module.service') are not working because the kernel looks to not be loaded,

https://github.com/PrestaShop/PrestaShop/blob/develop/classes/module/Module.php#L3382C1-L3386C10

Kernel Container is not available

We are wondering if you know more about that? If it's our side or prestashop?

We have used other payment module and that working well.

Thank you for your help.

Order_payment not deleted/updated if full/partial refund of captured transaction for multi payment

Hi, when you do a full refund from the Prestashop module I noticed that the non captured transactions are deleted from the order_payment but the captured transaction are not. The captured transactions should be deleted too in case of a full refund.

I also noticed that the captured transaction are not updated according to the refund in case of the partial refund. For instance if you have a multi payment (2 x 250€) with the first transaction captured and you refund 400€, the order_payment of the captured transaction is not updated (250€ -> 100€).

Thanks

Wrong order status for full refund

Hi, when a transaction is fully refunded from Lyra BO, the module changes the status of the order to "Refunded with Lyra Collect" and then to "Payment accepted". This should not happen. The order should be set to "Refunded with Lyra Collect" but only if there are no other transactions for the order. If the refund is partial or if there are other payments, Lyra or not, you should not update the order status.

Thanks !

Multi payment with API REST

Hi, it would be great if the module provide multi payment with API REST. It seems that will be available around Q1 2022 ?

Thanks !

Save change rate

Hi, the change rate is not saved in the table order_payment. Can you fix this please ?

Thanks !

Wrong order status for canceled payment

Hi, when a payment is canceled from Lyra BO (non-captured transaction), the module sets the order status to "Canceled", even if the cancellation is only for a part of the total order amount. The status of the order should be set to "Cancelled" only if the cancellation is equal to the total amount of the order and there is no other payment, Lyra or not, for that order. Another thing, all payments are deleted from the order! Of course, the other payments must not be deleted.

Thanks !

Refund of non-captured transactions for multi payment

Hi, when you do a refund from the Prestashop module, only non-captured transactions can be refunded for multi payment. As long as the amount of the refund does not exceed the amount of the non-captured transactions, the refund is done. The non-captured transactions are either modified or cancelled. However, it should be possible to make a total or partial refund that exceeds the amount of the non-captured transactions. In this case, the non-captured transactions must be cancelled or modified and the discounted transactions must be refunded, in total or partially.

Thank you !

Custom path for logs

Hi, it would be great if we can choose the path for the logs in the configuration page of the module. We want them to be at the root of the module for instance.

Thank you !

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.