Giter VIP home page Giter VIP logo

alexboia / livepayments-mp-wc Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 4.01 MB

Credit & Debit Card WooCommerce Payment Gateway that uses the Romanian mobilPay payment processor

License: BSD 3-Clause "New" or "Revised" License

PHP 98.83% CSS 0.26% JavaScript 0.76% Shell 0.16%
credit-cart-payment mobilpay mobilpay-card woocommerce woocommerce-payment-gateway woocommerce-plugin wordpress wordpress-plugin

livepayments-mp-wc's People

Contributors

alexboia avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

livepayments-mp-wc's Issues

Need to test and update for WP 5.5

Until now, one issue has been found:

<b>Notice</b>: register_rest_route a fost denumit <strong>incorect</strong>. Definiția rutei REST API pentru <code>livepayments-mp-wc/reports/transctions-status-counts</code> nu cuprinde argumentul <code>permission_callback</code>, care este necesar. Pentru rutele REST API care sunt destinate să fie publice, folosește <code>__return_true</code> ca un apel-înapoi pentru permisiuni. Te rog vezi <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Depanare în WordPress</a> pentru mai multe informații. (Acest mesaj a fost adăugat în versiunea 5.5.0.) in <b>/home/maiclar/public_html/ciel_eshop/wp-includes/functions.php</b> on line <b>5225</b><br /> <br /> <b>Notice</b>: register_rest_route a fost denumit <strong>incorect</strong>. Definiția rutei REST API pentru <code>livepayments-mp-wc/reports/last-transaction-details</code> nu cuprinde argumentul <code>permission_callback</code>, care este necesar. Pentru rutele REST API care sunt destinate să fie publice, folosește <code>__return_true</code> ca un apel-înapoi pentru permisiuni. Te rog vezi <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Depanare în WordPress</a> pentru mai multe informații. (Acest mesaj a fost adăugat în versiunea 5.5.0.) in <b>/home/maiclar/public_html/ciel_eshop/wp-includes/functions.php</b> on line <b>5225</b><br />

This is generated when registering the REST API routes that are needed for the plug-in's widgets on the WooCommerce Admin page.

The plugin's loading indicator overlaps with WooCommerce's loading indicator

Describe the bug
In the transaction listing page (and possibly other pages as well), the plugin's loading indicator overlaps with WooCommerce's loading indicator.

To Reproduce
Steps to reproduce the behavior:

  1. Go to transactions listing page (WooCommerce -> LivePayments Card Transactions);
  2. Chose a transaction and click on the Details link;
  3. While the transaction data is loading, the WooCommerce loading indicator can also be seen, right below the plugin's loading indicator.

Expected behavior
The WooCommerce loading indicator should not be displayed.

Screenshots
CaptureDisplayLoading

In the gateway settings page display a gateway-readiness banner

Is your feature request related to a problem? Please describe.
When filling in the plug-in's gateway settings, I don't really know when the gateway is ready to be used (do I need to fill in more settings?).

Describe the solution you'd like
There should be a banner saying whether "hey, you know, here are some settings you still need to fill in" or "gateway is ready to be used, all good".

Allow customization of the payment method logo displayed on checkout

Is your feature request related to a problem? Please describe.
The default payment method logo may not be suitable for the particular checkout layout a store might chose, so it should be customizable using the gateway's settings page.

Describe the solution you'd like
A file upload field in the gateway's settings page that allows a user to upload another image as the payment gateway logo.
The current logo needs to also be displayed and there should be an option to remove the custom logo if desired.

Describe alternatives you've considered
Currently, it is possible to customize the image using the plugin's lvdwcmc_payment_gateway_icon filter hook, but this requires technical skills, so the bar should be lowered.

Additional context
N/A

WooCommerce 5.6 Analytics -> Overview not working

Describe the bug
As of WC 5.6, the analytics default tab (overview) does not load anymore, the react crashes (js), this is prob due to the widgets inserted by LivePayments plugin.

To Reproduce
Steps to reproduce the behavior:

  1. Update WC to latest (5.6)
  2. Go to Analytics -> Overview
  3. Nothing loads (white page)

Expected behavior
Expecting analytics data to load

Screenshots
N/A

Desktop (please complete the following information):

  • OS: macOS 11.4
  • Browser Chrome
  • Version 92

Smartphone (please complete the following information):
N/A

Additional context
None needed

Add summary reporting widget to WooCommerce Admin dashboard

Is your feature request related to a problem? Please describe.
I would like to see the current status of the LivePayments gateway subsystem in WooCommerce's admin dashboard:

  • transaction status counts, like the panel in WordPress dashboard;
  • details of last transaction.

Describe the solution you'd like
A simple box would do, possibly with a tabbed interface.

Auto-redirect to mobilpay after order submit

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
I would like to see an auto 3/5 seconds redirect notice and action on the confirmation screen so the user can pay the order without an extra interaction

Describe alternatives you've considered
n/a

Additional context
Users do not always see the action button, that they have to pay.

Add a configurable amount to act as the maximum amount for which the gateway operates the payments.

Is your feature request related to a problem? Please describe
One may want to disable payments using this gateway if the order amount exceeds a configurable amount.

Describe the solution you'd like
Add a new setting in the gateway settings form that allows setting such an amount.
An amount of 0 (zero) means no upper limit.
If the order exceeds this amount, then the gateway won't be displayed as a payment option in the check-out page.

Allow setting what currencies this gateway can handle

Is your feature request related to a problem? Please describe.
Currently I cannot chose whether or not to use this gateway for a given currency. Thus, it is possible for the user to chose this gateway although it cannot handle the currency of his/her order.

Describe the solution you'd like
Add an option to plug-in settings to only use the gateway for some given currencies (for instance, restrict to RON only, or to EUR only or to EUR and RON or what not).

Implement a gateway diagnostics feature

Is your feature request related to a problem? Please describe
If something happens and data is lost (such as payment asset files), a potential malfunction needs to be investigated by using an FTP client to check for the asset files.

Describe the solution you'd like
To address this, a diagnostics feature could be implemented to check for the following:

  • whether all payment assets are in place;
  • whether the merchand ID and return URL are still filled in;
  • whether the return URL is still reachable;
  • whether they correspond to the merchant ID or not.

This feature should be comprised of:

  • a diagnostics page where all these checks could be performed manually, on demand;
  • a cron job that automatically performs these checks and issues a warning if there is a problem.

Payment initiation error not reported to customer in payment receipt screen

Describe the bug
When in the payment receipt screen, if there is an error initializing the payment, notify the user to either retry or contact support, since there is nothing the user can do.

To Reproduce
Steps to reproduce the behavior:

  1. Change one of the payment asset file's contents so that it becomes invalid and will not be processed at payment initiation (public certificate, but be sure to back-up first);
  2. Complete a payment workflow and select this payment gateway for payment;
  3. In the payment receipt screen, nothing is displayed.

Expected behavior
A clear and concise error message describing what has happened along with a button that allows a user to retry, if it can be established that the error is not permanent.

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.