Giter Club home page Giter Club logo

plugin-opencart's Introduction

OpenCart plugin for Paylike

Opencart 2.x is no longer actively receiving updates so for improved security and maintenance we encourage you to use 3.x. You can find the 3.x extension here: https://github.com/paylike/plugin-opencart-3

This plugin is not developed or maintained by Paylike but kindly made available by the community.

Released under the MIT license: https://opensource.org/licenses/MIT

You can also find information about the plugin here: https://paylike.io/plugins/opencart20

Supported OpenCart versions

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

Prerequisites

Installation

Once you have installed OpenCart, follow these simple steps:

  1. Signup at paylike.io (it’s free)
  2. Create a live account
  3. Create an app key for your OpenCart website
  4. Copy all the files inside the upload folder to the opencart folder, this will add files to the necessary folders. This should be done via ftp, or inside a file manager, for example the cpanel file manager.
  5. Log in as administrator and click "Extensions" from the top menu then "extension" then "payments" and install the Paylike plugin by clicking the Install link listed there.
  6. Click the Edit Paylike button
  7. Add the Public and App key that you can find in your Paylike account and enable the plugin

Updating settings

Under the extension 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
  • Update the popup description, choose whether you want to show the popup (the cart contents will show up instead)
  • Add test/live keys
  • Set payment mode (test/live)
  • Change the capture type (Instant/Manual via Paylike Tool)

Changelog

  • 12/02/2021
    • Bug fix - deprecated order status update procedure.
    • Bug fix - duplicated Paylike panel in admin > order > edit. Removed the duplicated vqmode file.
    • Bug fix - PHP complex expressions compatibility.
    • Added support for multi-language currency separator.
    • Bug fix - Currency separator issue.

plugin-opencart's People

Contributors

cosminbosutar avatar ionutcalara avatar larsbothomsen avatar luciandex avatar michaelrotaru avatar tjconcept avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin-opencart's Issues

Is this plugin working on Opencart 2.3.x

Hello,
I have an OC 2.3.x shop and I installed this extension but it doesn't show me any button in payment step.

Did anybody managed to use it into OC 2.3.x?

Thank you
Cristi

Confirmation page not showing

Hello,
I have an issue with this plugin .
After the customer is making the payment he is not redirected to confirmation page but he is reciving confirmation email and the payment is taken from his card.
What is wrong ?

Recurring support for OpenCart

Dear Developer,

We would like use Recurring Payment Profiles in OpenCart, as soon as possible. Do you can can implement that function for us?

Greetings,
Matyas Timar

Please make an updated OC2.0.31 extension

Hi,
I try to install Paylike Opencart extension to my OC2.0.3.1 system.
It seems it is works, but it gives wrong total value in case of Hungarian language.
I think the problem is that marking of thousend separator is different in english and in hungarian version.
Eng: 1,000.0Euro (one thousend)
Hun:1.000,0Euro (one thousend)
I can send you screenshot and my ocmod installer, too.

Could you please make a fixed version of this extension? Could you please convert your latest OC3 extension to my OC2.0.3.1 version?
Maybe the problem is this line in catalog/controller/payment/paylike.php?
$total = number_format(str_replace(',', '', $total), 2, ".", "") * $multiplier;

Another request/question:
Is there any way to accept more currency with different bank accounts? Make it to support multi currency and multi language? I have separate bank account for EUR and HUF. Both of them linked to my Paylike account. Unfortunately in case of two bank account there is two different public key and app key.

Thank you for your help,

SQL syntax error

After successful bank card payment we got the following error log. (it happen in case of HUF and EURO payment, too)
PHP Notice: Error: You have an error in your SQL syntax; check the maual that corresponds to your MariaDB server version for the right syntax to use near ’order SET order_id=’2’ WHERE ’order_id’ = ’5261’ at line 1
Error No.:1064
UPDATE order SET order_status_id=’2’ order_id=’5261’ in /home/…/system/library/db/mysqli.php on line 41

database server:
Server: Localhost via UNIX socket
Server type: MariaDB
Server connection: SSL is not being used Documentation
Server version: 10.3.25-MariaDB-cll-lve - MariaDB Server
Protocol version: 10
User:
Server charset: cp1252 West European (latin1)

web server:
Apache/2
Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 -
PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
PHP version: 7.3.25

phpMyAdmin:
Version information: 4.9.7, latest stable version: 5.0.4

Opencart:
version: 2.0.3.1
Language: Hungarian/English
Currency: HUF/EURO

During test payments the language and currency was HUN/HUF and HUN/EURO (same result in both case)

Error log happen only after successfuly finished payment (after we clicked pay and accepted our bank 3D secure window) and we returned to our homepage.

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.