Giter VIP home page Giter VIP logo

zencart's People

Contributors

jasper-multisafepay avatar jonkruud avatar mikededecker1 avatar ronald-multisafepay avatar solaiman-multisafepay avatar testpersonal avatar tim-multisafepay avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

francescancook

zencart's Issues

Use of undefined constant MODULE_PAYMENT_MULTISAFEPAY_TEXT_TITLE in notify_checkout.php

The notify_checkout.php script instantiates the multisafepay class without having first included its language file. This generates a number of warnings like this:

Use of undefined constant MODULE_PAYMENT_MULTISAFEPAY_TEXT_TITLE - assumed 'MODULE_PAYMENT_MULTISAFEPAY_TEXT_TITLE' (this will throw an Error in a future version of PHP) in ... includes/modules/payment/multisafepay.php on line 56.

It does include a language file later in the script, but that is too late to prevent the warnings.

I'm not sure if there's an easy way to fix this. It does not seem possible to include the language file at the beginning of the script, because it does not yet know what language file to use. (And it does not seem possible to include all language files, because they all define the MODULE_PAYMENT_MULTISAFEPAY_TEXT_TITLE constant.)

multiple order confirmation e-mails after installing Zencart plugin into Zencart V1.56c

I noticed that orders that were entered after activating a module like "ideal" or "Bancontact" leads to receiving 4 order confirmation e-mails, by both the customer and the admin. Information about this issue is scarce at the moment. I think there might be a compatibility issue with Zencart V1.56c compared to V1.55 for which the MultiSafepay plugin was initially developed. Ideas for how to solve this are very welcome.

PHP warnings for multisafepay_fastcheckout.php

I'm seeing some PHP warnings in a site's log files regarding includes/modules/payment/multisafepay_fastcheckout.php:

PHP Warning: Declaration of multisafepay_fastcheckout::getShoppingCart() should be compatible with multisafepay::getShoppingCart($order)
PHP Warning: Declaration of multisafepay_fastcheckout::parseAddress($street_address) should be compatible with multisafepay::parseAddress($address1, $address2 = '')
PHP Warning: Declaration of multisafepay_fastcheckout::checkout_notify() should be compatible with multisafepay::checkout_notify($manual_status = '')

Old-style PHP constructor in multisafepay class

The multisafepay class has an old-style constructor and this generates a warning when the class is used:

Methods with the same name as their class will not be constructors in a future version of PHP; multisafepay has a deprecated constructor in ... includes/modules/payment/multisafepay.php on line 28.

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.