Git Product home page Git Product logo

opencart-3.0's People

Contributors

andrewrowanwallee avatar edgaraswallee avatar nicoeigenmanncw avatar sbossert avatar theodorspringwallee avatar victoralbala avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencart-3.0's Issues

Support for OpenCart Versions 4.*?

Hello,

I'm writing to inquire about the future plans for supporting OpenCart Versions 4 and above. As OpenCart continues to evolve, it's crucial for developers and businesses to stay updated with the latest versions to leverage new features and improvements.

I wanted to know if there are any plans to update this plugin to be compatible with the new versions of OpenCart.

I look forward to your response.
Best regards

Problem with Duplicate Webhook Calls in wallee Interface

We are currently experiencing an issue with the wallee interface in our Opencart online store. While testing, we have noticed that multiple status updates for payments are being recorded (as seen in image walle_Error.png), resulting in the customer receiving multiple email notifications. This issue of excessive email notification results in our emails ending up in the customer's spam folder and the customer receiving multiple redundant emails.

This problem occurs with all payment methods such as Postfinance, Twint or Visa.

On closer inspection, it appears that wallee's webhook interface is making multiple identical calls indicating that the invoice has been paid multiple times. This in turn leads to multiple entries in our database, resulting in redundant email notifications. (oc_order_history)

A possible solution could be to implement a check to ensure that only unique values are recorded in the database. If the newly submitted value is different from the one already in the database, the entry should be made.

wallee_Fehler

Type Declaration Compatibility Issues with PHP 8 in Wallee SDK

Description
We have encountered compatibility issues with the Wallee SDK used in our OpenCart shop when running on PHP 8.1 The issue arises due to the lack of proper type declarations in methods that implement the ArrayAccess interface in the Wallee SDK. Specifically, this affects the Transaction and Address classes.

Error Messages
The following error messages are observed in the system logs:

PHP Unknown: Return type of Wallee\Sdk\Model\Transaction::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /path/to/wallee-sdk/lib/Model/Transaction.php on line 2295

Similar error messages for methods offsetGet, offsetSet, and offsetUnset in both Transaction and Address classes.

Expected Behavior
The methods in the Wallee SDK that implement the ArrayAccess interface should have compatible type declarations as per the PHP 8.1 requirements.

Steps to Reproduce
Upgrade the PHP version to 8.1
Run the OpenCart shop with the Wallee SDK integrated.
Observe the error logs.

Possible Solutions
Update the Wallee SDK to ensure compatibility with PHP 8.1, including proper type declarations for methods implementing interfaces like ArrayAccess.
As a temporary fix, use the #[\ReturnTypeWillChange] attribute to suppress the type declaration compatibility warnings.

Additional Information
OpenCart Version: 3.0.3.8
Wallee SDK Version: 1.0.56
PHP Version: 8.1
We would appreciate guidance on how to resolve this issue or information about any forthcoming updates that address this compatibility concern.

Order Info Heading Title overwritten

Wallee Module overwrites Heading Title (H1) with "wallee - payment_method" in Admin (Sale/order/Info).

Found in Opencart 3.0.3.7 and latest Wallee (19th April 21) from Github.

Can be reproduced by installing wallee and go to any order. Seen here as "wallee - TWINT"

wallee_bug3

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.