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

Pending Public Category: Technical Support / Bugs Ticket #624

Retitling of Payment 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

Chris Elliott

Seasons Greetings

My use case is that payment is taken when the buyer attends a training session in person as so I am using the Cash on Delivery plugin to support this as it seems to fit best.

I am using the text "Pay Cash at First Session" in the Payment Option Title field, of the plugin and this value this is correctly displayed in the Checkout page (good) but in the EMail template, the [PAYMENT_TYPE] variable displays the plugin TITLE of Cash on Delivery which is confusing my end user and their customer!

How can I tweak things to ensure the text field value of the "Payment Option Title" is applied to the EMail Template?

 

Olivier Buisard Staff

Hello Chris,

you can try and override the language key 'PAYMENT_CASH', that should fix it.

Olivier.

Chris Elliott

Thanks.

I found two Constant Keys that include "PAYMENT_CASH" in the Language Override > Administrator location. I changed both to "Pay Cash at First Session" but sadly the Email Template still presents "Cash on Delivery".

Further ideas welcome!

C

Olivier Buisard Staff

Hmmm, I was pretty sure that would fix it... Since the payment type is replaced with the key representing the order payment type...

Although the type is recorded in the database as 'payment_cash'.

Olivier.

Chris Elliott

I can give you admin access if it helps, my friend!

Olivier Buisard Staff

Sure Chris! Thanks. I am not sure what else I can do but I can double check your configuration at least.

Olivier.