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

#   SOFORT: Small improvement in code would do well

##

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

10 years 5 months ago -  10 years 5 months ago [\#244551](#244551) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  *[SOFORT: Small improvement in code would do well](/forum/29-payment-methods/885380-sofort-small-improvement-in-code-would-do-well#244551 "-- HikaShop version -- : 2.6.3  Hi HikaShop Team,  Due to a (solved) question in the German corner , I'd like to propose a small improvement in the SOFORT payment plugin for inclusion with one of the next HikaShop versions.  Reason: Thankfully, almost all text strings use language constants, allowing simple translation/replacement. Except one or two, which are seemingly &quot;left-overs&quot; in Dutch language.  Proposed change: In /plugins/hikashoppayment/sofort/sofort.php change line 55 from  to e.g.  and include a line in the English language file as default, such as  I think it would also be nice to change line 159 in the same file from  to e.g.  or similar in English.  I haven't looked for more, but the above would be of good help for users outside the Dutch language regions.  Thanks for consideration!")* was created by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")*

-- HikaShop version -- : 2.6.3

Hi HikaShop Team,

Due to a (solved) question in the German corner [ here](http://www.hikashop.com/forum/7-german/885336-verwendungszweck-bei-sofortueberweisung-aendern.html), I'd like to propose a small improvement in the SOFORT payment plugin for inclusion with one of the next HikaShop versions.

Reason:
Thankfully, almost all text strings use language constants, allowing simple translation/replacement. Except one or two, which are seemingly "left-overs" in Dutch language.

Proposed change:
In /plugins/hikashoppayment/sofort/sofort.php change line 55 from Code:

$order_text = "\r\n".JText::sprintf('betaling Feeen en ridders: order ',$order-&gt;order_id);

to e.g. Code:

$order_text = "\r\n".JText::sprintf('SOFORT_PAYMENT_PURPOSE',$order-&gt;order_id);

and include a line in the English language file as default, such as Code:

SOFORT_PAYMENT_PURPOSE="Payment for order %s"

I think it would also be nice to change line 159 in the same file from Code:

$element-&gt;payment_description = 'Betalen met Credit card';

to e.g. Code:

$element-&gt;payment_description = 'Pay with SOFORT';

or similar in English.

I haven't looked for more, but the above would be of good help for users outside the Dutch language regions.

Thanks for consideration!

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 10 years 5 months ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile"). Reason: Link added

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 5 months ago [\#244556](#244556) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[SOFORT: Small improvement in code would do well](/forum/29-payment-methods/885380-sofort-small-improvement-in-code-would-do-well#244556 "-- HikaShop version -- : 2.6.3  Hi HikaShop Team,  Due to a (solved) question in the German corner , I'd like to propose a small improvement in the SOFORT payment plugin for inclusion with one of the next HikaShop versions.  Reason: Thankfully, almost all text strings use language constants, allowing simple translation/replacement. Except one or two, which are seemingly &quot;left-overs&quot; in Dutch language.  Proposed change: In /plugins/hikashoppayment/sofort/sofort.php change line 55 from  to e.g.  and include a line in the English language file as default, such as  I think it would also be nice to change line 159 in the same file from  to e.g.  or similar in English.  I haven't looked for more, but the above would be of good help for users outside the Dutch language regions.  Thanks for consideration!")*

Hi,

See : [ github.com/HikaShop/hikashoppayment-sofort](https://github.com/HikaShop/hikashoppayment-sofort)

The Sofort plugin has not been implemented by the team but it was included during a period and maintained by the team (for bug fixes).
Since some months, I started to extract plugins not made by us into github repository.

Feel free to propose "pull request" and modification for that plugin ; we will take a look and validate your pull request (so your patch will be directly integrated into the plugin).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

10 years 5 months ago [\#244593](#244593) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[SOFORT: Small improvement in code would do well](/forum/29-payment-methods/885380-sofort-small-improvement-in-code-would-do-well#244593 "-- HikaShop version -- : 2.6.3  Hi HikaShop Team,  Due to a (solved) question in the German corner , I'd like to propose a small improvement in the SOFORT payment plugin for inclusion with one of the next HikaShop versions.  Reason: Thankfully, almost all text strings use language constants, allowing simple translation/replacement. Except one or two, which are seemingly &quot;left-overs&quot; in Dutch language.  Proposed change: In /plugins/hikashoppayment/sofort/sofort.php change line 55 from  to e.g.  and include a line in the English language file as default, such as  I think it would also be nice to change line 159 in the same file from  to e.g.  or similar in English.  I haven't looked for more, but the above would be of good help for users outside the Dutch language regions.  Thanks for consideration!")*

Thanks Jerome,

I wasn't aware of it being on Github. But guess now I am ![:)](/media/kunena/emoticons/3.png ":)")

Might dig into it there soon.

Thanks again!

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUzODAtc29mb3J0LXNtYWxsLWltcHJvdmVtZW50LWluLWNvZGUtd291bGQtZG8td2VsbD90bXBsPW1hcmtkb3du) 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.044 seconds

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