Problem/Motivation

API v2 supports multiple currencies and other new features, also v2 will have more support.
Support v1 ends in 2023: https://docs.mollie.com/reference/v1/payments-api/create-payment

Proposed resolution

Create a new version of the D7 module (7.x-2.x) to support Mollie API v2.

Remaining tasks

Create patch
Review patch
Update project page

User interface changes

Minimal:

  • Some dsm's can be replaced with watchdog messages.
  • X Autoload will be required

API changes

Module: ..?
Mollie API changes: https://docs.mollie.com/migrating-v1-to-v2

Data model changes

None

Comments

Tessa Bakker created an issue. See original summary.

tessa bakker’s picture

Issue summary: View changes
StatusFileSize
new0 bytes

Empty patch -.-'

tessa bakker’s picture

StatusFileSize
new12.25 KB

Initial patch for API v2, I didn't test any recurring payment.

tessa bakker’s picture

Issue summary: View changes
tessa bakker’s picture

Status: Active » Needs review
StatusFileSize
new1.6 KB
new13.3 KB

Changed:

Status: Needs review » Needs work

The last submitted patch, 5: mollie_payment-api-v2-2979344-5.patch, failed testing. View results

tessa bakker’s picture

Status: Needs work » Needs review
StatusFileSize
new15.68 KB
new21.6 KB

New patch, with lot of changes:
* Many code style fixes
* Use of constant for status values
* Initial change for Recurring payments

jaapjansma’s picture

What is the status of the development of this? I tried to apply the patch and got it working.

ricovandevin’s picture

Assigned: Unassigned » ricovandevin
Priority: Normal » Critical

Raising priority since Mollie and Finlet decided to improve the integration between the Mollie Payment module and the Mollie API Client for PHP. We aim at committing this within two weeks from now.

  • ricovandevin committed 02e6cdb on 7.x-2.x
    Issue #2979344 by Tessa Bakker: Support Mollie API v2 for 7.x
    
ricovandevin’s picture

Status: Needs review » Fixed

Used this patch as a start for the 7.x-2.x branch. Issues can be reported against the 7.x-2.x-dev version.

Thanks @Tessa Bakker for this work!

ricovandevin’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.