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

#   Change name of payment plugin

##

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile") Topic Author
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

13 years 11 months ago [\#78975](#78975) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  *[Change name of payment plugin](/forum/2-general-talk-about-hikashop/76196-change-name-of-payment-plugin#78975 "Hi!  I have a problem. In order to create a new payment method &quot;in advance via bank transfer&quot;, I manipulated the payment plugin &quot;Western Union&quot; in the way that I need it. However, I do not manage to change the name of the plugin (the one that you see in the list with all the plugins) and the variabel &quot;order&#95;payment&#95;method&quot;. It's not good like this as we added this variable to the admin order confirmation. How can I change it?  Thank you!")* was created by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")*

Hi!

I have a problem. In order to create a new payment method "in advance via bank transfer", I manipulated the payment plugin "Western Union" in the way that I need it.
However, I do not manage to change the name of the plugin (the one that you see in the list with all the plugins) and the variabel "order_payment_method". It's not good like this as we added this variable to the admin order confirmation.
How can I change it?

Thank you!

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 11 months ago [\#79001](#79001) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Change name of payment plugin](/forum/2-general-talk-about-hikashop/76196-change-name-of-payment-plugin#79001 "Hi!  I have a problem. In order to create a new payment method &quot;in advance via bank transfer&quot;, I manipulated the payment plugin &quot;Western Union&quot; in the way that I need it. However, I do not manage to change the name of the plugin (the one that you see in the list with all the plugins) and the variabel &quot;order&#95;payment&#95;method&quot;. It's not good like this as we added this variable to the admin order confirmation. How can I change it?  Thank you!")*

Hi,

1. If you want to create/modify a payment plugin, you'll have to change more than the name of the plugin.

2. You can change the name of your plugin through the ".xml" file and change the line : Code:

&lt;name&gt;The old name&lt;/name&gt;

By : Code:

&lt;name&gt;The new name&lt;/name&gt;

Hope this will help you.

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

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

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile") Topic Author
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

13 years 11 months ago [\#80516](#80516) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  Replied by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")* on topic *[Change name of payment plugin](/forum/2-general-talk-about-hikashop/76196-change-name-of-payment-plugin#80516 "Hi!  I have a problem. In order to create a new payment method &quot;in advance via bank transfer&quot;, I manipulated the payment plugin &quot;Western Union&quot; in the way that I need it. However, I do not manage to change the name of the plugin (the one that you see in the list with all the plugins) and the variabel &quot;order&#95;payment&#95;method&quot;. It's not good like this as we added this variable to the admin order confirmation. How can I change it?  Thank you!")*

Hi Mohamed!

I changed the name of the plugin (from "Hikashop Western Union Plugin" to "Hikashop Payment In Advance Plugin") but this is not what determines the name that appears in the admin confirmation of order (before and now "westernunion".

The variabel is called ($data-&gt;order_payment_method), and there is still "westernunion" coming up.

Where can I change this? I don't find "westernunion" anywhere.. Where do I find the "$data-&gt;order_payment_method"?

Thank you!

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

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile") Topic Author
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

13 years 11 months ago [\#80517](#80517) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  Replied by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")* on topic *[Change name of payment plugin](/forum/2-general-talk-about-hikashop/76196-change-name-of-payment-plugin#80517 "Hi!  I have a problem. In order to create a new payment method &quot;in advance via bank transfer&quot;, I manipulated the payment plugin &quot;Western Union&quot; in the way that I need it. However, I do not manage to change the name of the plugin (the one that you see in the list with all the plugins) and the variabel &quot;order&#95;payment&#95;method&quot;. It's not good like this as we added this variable to the admin order confirmation. How can I change it?  Thank you!")*

The name in the list of payment plugins is also still the same "HikaShop Western Union payment plugin"...

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

- **[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")**
- [![phamosa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/7861-phamosa "View phamosa's Profile") Topic Author
- [ Offline](/forum/user/7861-phamosa)

Less More

- Posts: 65
- Thank you received: 0
-
-

13 years 11 months ago -  13 years 11 months ago [\#80518](#80518) by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile")  Replied by *[phamosa](/forum/user/7861-phamosa "View phamosa's Profile")* on topic *[Change name of payment plugin](/forum/2-general-talk-about-hikashop/76196-change-name-of-payment-plugin#80518 "Hi!  I have a problem. In order to create a new payment method &quot;in advance via bank transfer&quot;, I manipulated the payment plugin &quot;Western Union&quot; in the way that I need it. However, I do not manage to change the name of the plugin (the one that you see in the list with all the plugins) and the variabel &quot;order&#95;payment&#95;method&quot;. It's not good like this as we added this variable to the admin order confirmation. How can I change it?  Thank you!")*

Would I have to change the .php? I found the wording "westernunion" in the .php file. Can I just change it or what happens then?

Last edit: 13 years 11 months ago by [phamosa](/forum/user/7861-phamosa "View phamosa's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2MTk2LWNoYW5nZS1uYW1lLW9mLXBheW1lbnQtcGx1Z2luP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14306
-
-

13 years 11 months ago [\#80578](#80578) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change name of payment plugin](/forum/2-general-talk-about-hikashop/76196-change-name-of-payment-plugin#80578 "Hi!  I have a problem. In order to create a new payment method &quot;in advance via bank transfer&quot;, I manipulated the payment plugin &quot;Western Union&quot; in the way that I need it. However, I do not manage to change the name of the plugin (the one that you see in the list with all the plugins) and the variabel &quot;order&#95;payment&#95;method&quot;. It's not good like this as we added this variable to the admin order confirmation. How can I change it?  Thank you!")*

In both the php and the xml file of the plugin you need to change westernunion to your plugin name.
Note that the files name itself should be changed too.

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

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