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

#   Variable with currency code or ID in banktransfer\_end.php

##

- **[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")**
- [![FilipHradil's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36153-filiphradil "View FilipHradil's Profile") Topic Author
- [ Offline](/forum/user/36153-filiphradil)

Less More

- Posts: 217
- Thank you received: 4
-
-

9 years 1 month ago [\#281367](#281367) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  *[Variable with currency code or ID in banktransfer\_end.php](/forum/29-payment-methods/892538-variable-with-currency-code-or-id-in-banktransfer-end-php#281367 "-- HikaShop version -- : 3.2.1  Hello,  please, how can I get currency code or ID in file of payment method banktransfer&#95;end.php? And also order&#95;creation&#95;notification&#95;preload please.  Thank you Filip")* was created by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")*

-- HikaShop version -- : 3.2.1

Hello,

please, how can I get currency code or ID in file of payment method banktransfer_end.php?
And also order_creation_notification_preload please.

Thank you
Filip

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

9 years 1 month ago [\#281371](#281371) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Variable with currency code or ID in banktransfer\_end.php](/forum/29-payment-methods/892538-variable-with-currency-code-or-id-in-banktransfer-end-php#281371 "-- HikaShop version -- : 3.2.1  Hello,  please, how can I get currency code or ID in file of payment method banktransfer&#95;end.php? And also order&#95;creation&#95;notification&#95;preload please.  Thank you Filip")*

Hello,

The currency id is stored in the order object, under "order_currency_id".

Regards,

---

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

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

- **[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")**
- [![FilipHradil's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36153-filiphradil "View FilipHradil's Profile") Topic Author
- [ Offline](/forum/user/36153-filiphradil)

Less More

- Posts: 217
- Thank you received: 4
-
-

9 years 1 month ago -  9 years 1 month ago [\#281398](#281398) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Variable with currency code or ID in banktransfer\_end.php](/forum/29-payment-methods/892538-variable-with-currency-code-or-id-in-banktransfer-end-php#281398 "-- HikaShop version -- : 3.2.1  Hello,  please, how can I get currency code or ID in file of payment method banktransfer&#95;end.php? And also order&#95;creation&#95;notification&#95;preload please.  Thank you Filip")*

Thank you very much.

Like this?
$order-&gt;order_currency_id

**It does not work in banktransfer\_end.php file.**

Thank you
F.

Last edit: 9 years 1 month ago by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile").

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

9 years 1 month ago [\#281405](#281405) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variable with currency code or ID in banktransfer\_end.php](/forum/29-payment-methods/892538-variable-with-currency-code-or-id-in-banktransfer-end-php#281405 "-- HikaShop version -- : 3.2.1  Hello,  please, how can I get currency code or ID in file of payment method banktransfer&#95;end.php? And also order&#95;creation&#95;notification&#95;preload please.  Thank you Filip")*

Hi,

In the banktransfer_end file it should be $this-&gt;order-&gt;order_currency_id
In the email, it is in $cart-&gt;order_currency_id

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

- **[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")**
- [![FilipHradil's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36153-filiphradil "View FilipHradil's Profile") Topic Author
- [ Offline](/forum/user/36153-filiphradil)

Less More

- Posts: 217
- Thank you received: 4
-
-

9 years 1 month ago [\#281512](#281512) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Variable with currency code or ID in banktransfer\_end.php](/forum/29-payment-methods/892538-variable-with-currency-code-or-id-in-banktransfer-end-php#281512 "-- HikaShop version -- : 3.2.1  Hello,  please, how can I get currency code or ID in file of payment method banktransfer&#95;end.php? And also order&#95;creation&#95;notification&#95;preload please.  Thank you Filip")*

Hello Nicolas,

thank you. IT works!

F.

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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