- Posts: 637
- Thank you received: 26
PAYMENT_NOTIFICATION_STATUS question
7 years 2 weeks ago #311088
by Lumiga
Kind regards,
Lumiga
PAYMENT_NOTIFICATION_STATUS question was created 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
-- 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.
7 years 2 weeks ago #311091
by nicolas
Replied by nicolas on topic PAYMENT_NOTIFICATION_STATUS question
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:
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.
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."
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.
7 years 2 weeks ago #311136
by Lumiga
Kind regards,
Lumiga
Replied by Lumiga on topic PAYMENT_NOTIFICATION_STATUS question
Hi Nicolas,
Thank you very much.
Good to know to use the %2$s, I didn't know that yet.
Kind regards,
Limuga
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