Skip to main content

PAYMENT_NOTIFICATION_STATUS question

More
7 years 2 weeks ago #311088 by Lumiga
-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.2

Hi supportteam,

I hope that you guys are okay.

When we get a payment notification e-mail for the webshopholder.
We get this sentence:
Hallo, A jdideal notification was received with the status confirmed.

The corresponding language code is:
PAYMENT_NOTIFICATION_STATUS="Hello,<br/>A %s notification was received with the status %s."

Our question is: Where can we change the first %s variable? Because we don't want to display the name 'jdideal' because a webshopholder doesn't know what it means so that raises questions.

Kind regards,
Lumiga

Kind regards,
Lumiga

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #311091 by nicolas
Hi,

Well, supposing that you don't have any other payment method with automatic notifications, the simplest is to change the translation override like this:
Code:
PAYMENT_NOTIFICATION_STATUS="Hello,<br/>A payment notification was received with the status %2$s."
The %2$s allows the system to skip the first variable since we removed the first %s from the translation string.
docs.joomla.org/Formatted_fields_in_lang..._translation_strings
Otherwise, I'm afrais you'll have to change the code in the payment plugin to provide something else than the name of the payment plugin for that variable.
The following user(s) said Thank You: Lumiga

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #311136 by Lumiga
Hi Nicolas,

Thank you very much.
Good to know to use the %2$s, I didn't know that yet.

Kind regards,
Limuga

Kind regards,
Lumiga

Please Log in or Create an account to join the conversation.

Time to create page: 0.175 seconds
Powered by Kunena Forum