[Skip to main content](#vessel-content)

#   Payment notification email (6.8.2) shows notification text twice + overlaps with

##

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 642
- Thank you received: 26
-
-
-

4 hours 35 minutes ago -  3 hours 52 minutes ago [\#100000772](#100000772) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  *[Payment notification email (6.8.2) shows notification text twice + overlaps with](/forum/25-install-update/100000163-payment-notification-email-6-8-2-shows-notification-text-twice-overlaps-with#100000772 "-- Browser(s) name and version -- :  Chrome 157.0  Hello,  The &quot;Payment notification&quot; email sent to the shop owner contains duplicated information. I see two separate issues.  1) The payment notification text itself appears twice in $data-&gt;mail&#95;params  After a successful Mollie payment (order B-00231), the NOTIFICATION&#95;MESSAGE block contains:  &quot;Een betaalnotificatie is ontvangen met de status confirmed. De bestelstatus is nu: Bevestigd. Deze notificatie is voor de bestelling B-00231 op de website   domein.nl/  Een betaalnotificatie is ontvangen met de status Geslaagd. De bestelstatus is nu: Geslaagd. Deze notificatie is voor de bestelling B-00231 op de website   domein.nl/  U kunt de bestelgegevens direct bekijken &#91;...&#93;:   domein.nl/administrator/index.php?option...sk=edit&amp;order&#95;id=231 &quot;  (English: &quot;A payment notification was received with the status confirmed. The order status is now: Confirmed. &#91;...&#93;&quot; followed by the same text with status &quot;Geslaagd&quot; (= Mollie's &quot;paid/successful&quot;).)  So the same notification is built twice: - once with the internal HikaShop order status (confirmed / Bevestigd) - once with the Mollie payment status (Geslaagd), where even &quot;The order status is now&quot; says &quot;Geslaagd&quot;, although the order status is actually Confirmed.  Only one email is sent and the email log shows a single entry, so it looks like two notification texts are concatenated into one mail&#95;params, rather than two notifications being processed. Is this caused by HikaShop core (modifyOrder) building its default text while the payment plugin also supplies its own text? Or is it the payment plugin?  2) The new 6.8.x payment&#95;notification template duplicates texts that are already in NOTIFICATION&#95;MESSAGE  In the core HTML template (payment&#95;notification), the following blocks are all displayed: - {TXT:ORDER&#95;CHANGED} -&gt; &quot;The order status is now: Confirmed&quot; - {TXT:NOTIFICATION&#95;MESSAGE} -&gt; plugin text, which already contains the order status, NOTIFICATION&#95;OF&#95;ORDER&#95;ON&#95;WEBSITE and ACCESS&#95;ORDER&#95;WITH&#95;LINK (with the full backend URL) - {TXT:ORDER&#95;BEGIN&#95;MESSAGE} -&gt; ACCESS&#95;ORDER&#95;WITH&#95;LINK again (with the order number as link text) - {TXT:ORDER&#95;END&#95;MESSAGE} -&gt; NOTIFICATION&#95;OF&#95;ORDER&#95;ON&#95;WEBSITE again  As a result, even with a single notification, the order status, the &quot;this notification is for order ...&quot; sentence and the backend link each appear twice in the email.  Expected result: Each piece of information appears once: the status in the header, one &quot;payment notification received with status X&quot; line, one link to the order and one &quot;this notification is for order ...&quot; line.  Workaround for now: In the preload I extract only the last &quot;payment notification received with status ...&quot; sentence from $data-&gt;mail&#95;params and pass that to NOTIFICATION&#95;MESSAGE.  Could you check whether this is a bug in the core template and/or in the way mail&#95;params is built?  Thank you, Lumiga")* was created by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")*

-- Browser(s) name and version -- :  Chrome 157.0

Hello,

The "Payment notification" email sent to the shop owner contains duplicated information. I see two separate issues.

1) The payment notification text itself appears twice in $data-&gt;mail_params

After a successful Mollie payment (order B-00231), the NOTIFICATION_MESSAGE block contains:

"Een betaalnotificatie is ontvangen met de status confirmed. De bestelstatus is nu: Bevestigd. Deze notificatie is voor de bestelling B-00231 op de website [ domein.nl/](https://domein.nl/)
Een betaalnotificatie is ontvangen met de status Geslaagd. De bestelstatus is nu: Geslaagd. Deze notificatie is voor de bestelling B-00231 op de website [ domein.nl/](https://domein.nl/)
U kunt de bestelgegevens direct bekijken [...]: [ domein.nl/administrator/index.php?option...sk=edit&amp;order\_id=231](https://domein.nl/administrator/index.php?option=com_hikashop&ctrl=order&task=edit&order_id=231)"

(English: "A payment notification was received with the status confirmed. The order status is now: Confirmed. [...]" followed by the same text with status "Geslaagd" (= Mollie's "paid/successful").)

[ ![hika4.jpg](/forum/attachment/100000216) ](/forum/attachment/100000216 "hika4.jpg")

So the same notification is built twice:
- once with the internal HikaShop order status (confirmed / Bevestigd)
- once with the Mollie payment status (Geslaagd), where even "The order status is now" says "Geslaagd", although the order status is actually Confirmed.

Only one email is sent and the email log shows a single entry, so it looks like two notification texts are concatenated into one mail_params, rather than two notifications being processed. Is this caused by HikaShop core (modifyOrder) building its default text while the payment plugin also supplies its own text? Or is it the payment plugin?

2) The new 6.8.x payment_notification template duplicates texts that are already in NOTIFICATION_MESSAGE

In the core HTML template (payment_notification), the following blocks are all displayed:
- {TXT:ORDER_CHANGED} -&gt; "The order status is now: Confirmed"
- {TXT:NOTIFICATION_MESSAGE} -&gt; plugin text, which already contains the order status, NOTIFICATION_OF_ORDER_ON_WEBSITE and ACCESS_ORDER_WITH_LINK (with the full backend URL)
- {TXT:ORDER_BEGIN_MESSAGE} -&gt; ACCESS_ORDER_WITH_LINK again (with the order number as link text)
- {TXT:ORDER_END_MESSAGE} -&gt; NOTIFICATION_OF_ORDER_ON_WEBSITE again

As a result, even with a single notification, the order status, the "this notification is for order ..." sentence and the backend link each appear twice in the email.

Expected result:
Each piece of information appears once: the status in the header, one "payment notification received with status X" line, one link to the order and one "this notification is for order ..." line.

Workaround for now:
In the preload I extract only the last "payment notification received with status ..." sentence from $data-&gt;mail_params and pass that to NOTIFICATION_MESSAGE.

Could you check whether this is a bug in the core template and/or in the way mail_params is built?

Thank you,
Lumiga

---

Kind regards,
Lumiga

Last edit: 3 hours 52 minutes ago by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzEwMDAwMDE2My1wYXltZW50LW5vdGlmaWNhdGlvbi1lbWFpbC02LTgtMi1zaG93cy1ub3RpZmljYXRpb24tdGV4dC10d2ljZS1vdmVybGFwcy13aXRoP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.040 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
