GithubHelp home page GithubHelp logo

mollie-oxid's Introduction

Mollie for OXID eShop

Mollie is a payment service provider (PSP) which provides your online store with the most popular online payment methods.

Receive payments from European customers with ease. Mollie provides payment methods at higly competitive rates. Only pay per transaction and no hidden fees.

Choose the best payment provider available for your online OXID eShop. Create your merchant account at Mollie.com. Download and install the Mollie OXID eShop payment module and start receiving online payments now!

Installation and configuration

Read more about the installation, configuration and more of the Mollie-Plugin on our Wiki.

mollie-oxid's People

Contributors

fatchiprobert avatar ndijkstra avatar markusmichalski-fc avatar boulangerv avatar fcmarcin avatar vernondegoede avatar

Stargazers

Lono Holz avatar Gonzo avatar Paul van Hemmen avatar Kilian avatar Jan Niebuhr avatar Rick Wong avatar Adriaan Mol avatar

Watchers

Kras avatar James Cloos avatar JonasL avatar Feyyaz Esatoglu avatar Kilian avatar Jan Niebuhr avatar Robbert Schreuder Hes avatar Florian Bender avatar Martijn Smit avatar Martijn Polder avatar  avatar Vesna Markovska avatar  avatar Martin Valenzuela avatar Gonzo avatar Helge Wysoszysnki avatar Salim Bouziane Rabhi @ Mollie avatar

mollie-oxid's Issues

All payments get deactivated if apply-configuration command is run

if you run oe:module:apply-configuration (since Oxid 6.2) All Payments get deactivated.

Problem:
Oxid Applies the Configuration in the following way:
Deactivate Module
Apply Config from Yaml
Activate Module

Since the Mollie Module deactivates all Payments when it is deactivated, all payments stay deactivated after the Configuration is applied.

Fix:
Only Run Query when deactivated from Admin
#4

Install module via composer

If you install the module via composer from your own filesystem the module can't resolve the Mollie\Api\ApiClient.

We added alle custom modules and own modules to the directory ./modules/xyz/ (f.e. ./modules/mollie/mollie-oxid)
After that edit the composer.json

"mollie": {
            "type": "path",
            "url": "modules/mollie/*"
},

After this you can require the mollie module via composer.
But the missing Class and Namespace send always an error on all payment types.

So if you edit YOUR composer.json

"autoload": {
    "psr-4": {
      "Mollie\\Payment\\": "../../../source/modules/mollie/molliepayment"
    },
    "files":["../../../source/modules/mollie/molliepayment/lib/mollie-api-php/vendor/autoload.php"]
  } 

All other could install this via composer...

error_log problem OXID CE 6.3.1 / PHP 8.0 / 1.0.26

exception on module settings tab

OXID Logger.ERROR: Call to undefined function Mollie\Payment\Application\Helper\error_log() ["[object] (Error(code: 0): Call to undefined function Mollie\Payment\Application\Helper\error_log() at /www/releases/19/vendor/mollie/mollie-oxid/Application/Helper/Payment.php:247)

Packagist release 1.0.13

Hey there, I'm installing the mollie module through composer. Unfortunately the latest release 1.0.13 is not available through packagist, it seems like packagist is unable to discover this release - would you mind looking into it? Thanx!

authorize-then-capture process

As a Scandinavian customer, I expect that I just authorize the credit card payment during the order process. The online shop captures the invoice amount after the order has been dispatched.

In Scandinavia, it is restricted by law that the invoice amount is captured after the order has been dispatched.

Please integrate the authorize-then-capture process into the mollie module for OXID.

Error executing API call (422: Unprocessable Entity): Order line 7 is invalid. The 'vatRate' field should have a maximum precision of 2. Field: lines.7.vatRate

This error happens in some cases with setting "VAT calculation of additional services: Calculate VAT proportionately" (The percentage of products in cart with the same VAT rate is used for calculating.).
When an order contains products with different VAT rates, there is a big chance the VAT rate for shipping costs will be calculated to a value with higher precision than 2.

Can it be a solution for you to change line https://github.com/mollie/mollie-oxid/blob/master/Application/Model/Request/Base.php#L412 to
'vatRate' => (float)$this->formatPrice($oOrder->oxorder__oxdelvat->value), ?

iDeal: Request with fnc=handleMollieReturn param is called twice sometimes

Tested versions: 1.0.32 and 1.0.33
We use the iDeal Payment-API.

This issue is not reproducible in test-mode.
In live-mode we see such double requests (in apache logs) in about every 2nd "successful" order from real customers.

Here is an example of such a request, that is fired into the shop two times at exact same time:
/index.php?cl=order&fnc=handleMollieReturn&stoken=1234&sDeliveryAddressMD5=example&force_sid=abcde&ord_agb=1&rtoken=xyz

One of them has a referrer "https://www.mollie.com/". The other has no referrer. All other params are same in both requests.
Both requests are also fired from the same customer-IP.

The module redirects those requests to the thankyou-controller if the order was successful. But OXID allows this call only once. The second call of this controller is redirected to the start-page.

Payment Method Przelewy24

Hello, is this module capable of processing Przelewy24 paymemts yet? I saw it's defined in the underlying sdk, but couldn't find it in the oxid module structure itself.

We're thinking about a switch to mollie, but due to our need to also process P24 payments this would hold us off for now. Would it be possible to implement P24 as a payment on your side?

Thanx!

Method mollieMarkAsPaid() isn't called on transaction type "success"

Please see https://github.com/mollie/mollie-oxid/blob/master/Application/Model/TransactionHandler/Payment.php#L35
and https://github.com/mollie/mollie-oxid/blob/master/Application/Model/TransactionHandler/Order.php#L45

Some lines above there is a condition $sType == 'webhook', means only transactions coming from webhook can be marked as paid.

It results in circumstance, that a payment which is made by payment link ($sType == 'success'), will not marked as paid. But shouldn't it?

Declaration of validatePayment not correct

Hi,
with version 1.0.18 we are seeing the following warning:

[Thu Mar 04 09:15:35.106435 2021] [proxy_fcgi:error] [pid 166059:tid 139828177786624] [client 173.0.81.65:59971] AH01071: Got error 'PHP message: PHP Warning: Declaration of Mollie\Payment\extend\Application\Model\Order::validatePayment($oBasket) should be compatible with OxidEsales\EshopCommunity\Application\Model\Order::validatePayment($oBasket, $oUser = NULL) in /srv/www/sportschrank_prod/source/modules/mollie/molliepayment/extend/Application/Model/Order.php on line 419'

Regards

Cronjob not ready for multishop

modules/mollie/molliepayment/cron.php takes shop id as a parameter. It does switch to that shopid which is passed as an argument and handles ordersof that subshop.

But scheduler is not shop aware. So if I have two cronjobs 'cron.php 1' and 'cron.php 2', only cronjobs for one subshop is always run.

you need shopid field in molliecronjob table

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.