Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Open Public Category: Pre-Sales Requests Ticket #595

Mollie plugin

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Conversation

Cyril Rezé

Hello,

I've started to work with j2commerce for a client who will use Mollie as payment platform.

I've seen that this plugin is now a paid one, and a new version was release.
I have a few questions about this new version:
- Is ApplePay is included? (in the current version 4.0.1 i use currently (the last free one version, i think), only Card, Bank Transfer and PayPal are available).
- Is it possible to display in invoice the payment option used, instead of "Mollie" (the Payment type)?

Thank you!
Cyril

 

Olivier Buisard Staff

Hi Cyril,

I apologise for the late answer, I cannot believe this ticket slipped through.

For the Mollie plugin, it seems like Apple Pay is not included at this point, it defers to 'Credit Card', as far as I can tell from the code.

For the Payment Type from the invoice, we have received requests to be able to change this but I have yet to find a solution as the PAYMENT TYPE from invoices or emails is replaced with the translation of the order type. 

Olivier.

Cyril Rezé

Hi Olivier,

Don't worry, i'm late too to give you the solution i've found...

Here how i did it:

I use an Advanced Template File for Email Template, and added this code:

$details = json_decode($order->transaction_details);

$paymentMethod = 'Mollie';

if (isset($details->method) && $details->method) {
    $detailsMethod = $details->method;
} else {
    $detailsMethod = 'Mollie';
}

$paymentType = [
    "creditcard" => Text::_('J2STORE_MOLLIE_CREDITCARD'),
    "paypal" => Text::_('J2STORE_MOLLIE_PAYPAL'),
    "banktransfer" => Text::_('J2STORE_MOLLIE_BANKTRANSFER'),
];

if (isset($paymentType[$detailsMethod])) {
    $paymentMethod = $paymentType[$detailsMethod];
}

And then, i get the payment type: Credit card, PayPal or Bank Transfert.

Regards,
Cyril