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

#   Uninstall custom payment plugin - image

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

11 years 2 months ago -  11 years 2 months ago [\#211227](#211227) by [galas](/forum/user/37946-galas "View galas's Profile")  *[Uninstall custom payment plugin - image](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211227 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9  I have problem with uninstalall my custom payment plugin. When I uninstall plugin, joomla also remove whole images from //media/com&#95;hikashop/images/payment  In my pluginName.xml file is followed code:   pluginName.jpeg   I check out your 'official' hikabitcoin payment plugin and there are the same problem. I try a lot of variation of defiine 'destination', but only solution is not include com&#95;hikashop/images/payment. But i need pligunName.jpeg inside com&#95;hikashop/images/payment folder.  How can I save //media/com&#95;hikashop/images/payment during uninstall, or how can I add my custom image as default paymet image in custom payment plugin?")* was created by *[galas](/forum/user/37946-galas "View galas's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.9

I have problem with uninstalall my custom payment plugin.
When I uninstall plugin, joomla also remove whole images from //media/com_hikashop/images/payment

In my pluginName.xml file is followed code:

&lt;media folder="media" destination="com_hikashop/images/payment"&gt;
&lt;filename&gt;pluginName.jpeg&lt;/filename&gt;
&lt;/media&gt;

I check out your 'official' hikabitcoin payment plugin and there are the same problem.
I try a lot of variation of defiine 'destination', but only solution is not include com_hikashop/images/payment.
But i need pligunName.jpeg inside com_hikashop/images/payment folder.

How can I save //media/com_hikashop/images/payment during uninstall, or
how can I add my custom image as default paymet image in custom payment plugin?

Last edit: 11 years 2 months ago by [galas](/forum/user/37946-galas "View galas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3ODcwMC11bmluc3RhbGwtY3VzdG9tLXBheW1lbnQtcGx1Z2luLWltYWdlP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 2 months ago [\#211261](#211261) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Uninstall custom payment plugin - image](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211261 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9  I have problem with uninstalall my custom payment plugin. When I uninstall plugin, joomla also remove whole images from //media/com&#95;hikashop/images/payment  In my pluginName.xml file is followed code:   pluginName.jpeg   I check out your 'official' hikabitcoin payment plugin and there are the same problem. I try a lot of variation of defiine 'destination', but only solution is not include com&#95;hikashop/images/payment. But i need pligunName.jpeg inside com&#95;hikashop/images/payment folder.  How can I save //media/com&#95;hikashop/images/payment during uninstall, or how can I add my custom image as default paymet image in custom payment plugin?")*

Hi,

I don't think that someone tried to uninstall the hikabitcoin plugin.
And you're right, the plugin is "official" but was not developed by the HikaShop team even if it is supported and maintained.

For my point of view is could be seen as a bug in Joomla (and I insist on the "could") but I understand that is is easier to remove the folder during the uninstall in order to be sure that it is cleaned.
So you should specify a folder which does not exist or that you're the only one to use.

Why not using a sub folder ? Like "com_hikashop/images/payment/pluginName/"
We can improve the image selector in HikaShop in order to also browse the sub folder, so your image will be available and the install/uninstall of the plugin won't generate any issue.
And for sure, we will also patch the "official" hikabitcoin plugin.

Regards,

---

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

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

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

11 years 2 months ago [\#211421](#211421) by [galas](/forum/user/37946-galas "View galas's Profile")  Replied by *[galas](/forum/user/37946-galas "View galas's Profile")* on topic *[Uninstall custom payment plugin - image](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211421 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9  I have problem with uninstalall my custom payment plugin. When I uninstall plugin, joomla also remove whole images from //media/com&#95;hikashop/images/payment  In my pluginName.xml file is followed code:   pluginName.jpeg   I check out your 'official' hikabitcoin payment plugin and there are the same problem. I try a lot of variation of defiine 'destination', but only solution is not include com&#95;hikashop/images/payment. But i need pligunName.jpeg inside com&#95;hikashop/images/payment folder.  How can I save //media/com&#95;hikashop/images/payment during uninstall, or how can I add my custom image as default paymet image in custom payment plugin?")*

Thank You for your answer,

Based on your proposition I added sub folder, but It won’t be working until you improve image selector.
So please let me know, if You update hikashop.

Is it possible to add my image to your official package /payment folder? It will solve my problem. Attached is the image.
I also have a question, if is it possible to add my plugin to your official package and what is the way to achieve it?
Should I talk to You in the future (as a programmer) or is it a task for sales department?

- [ ![dotpay.png](/forum/attachment/25962) ](/forum/attachment/25962 "dotpay.png") [ ](/forum/attachment/25962?download=1 "dotpay.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3ODcwMC11bmluc3RhbGwtY3VzdG9tLXBheW1lbnQtcGx1Z2luLWltYWdlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 2 months ago [\#211428](#211428) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Uninstall custom payment plugin - image](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211428 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9  I have problem with uninstalall my custom payment plugin. When I uninstall plugin, joomla also remove whole images from //media/com&#95;hikashop/images/payment  In my pluginName.xml file is followed code:   pluginName.jpeg   I check out your 'official' hikabitcoin payment plugin and there are the same problem. I try a lot of variation of defiine 'destination', but only solution is not include com&#95;hikashop/images/payment. But i need pligunName.jpeg inside com&#95;hikashop/images/payment folder.  How can I save //media/com&#95;hikashop/images/payment during uninstall, or how can I add my custom image as default paymet image in custom payment plugin?")*

Hi,

You can send an email to contact AT hikashop DOT com with your plugin zip file and we'll review it.
We might not include it and instead offer on our documentation page directly, like we do with new plugins we develop as the HikaShop install package already includes a lot of payment plugins and there are too many of them already.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

11 years 2 months ago [\#211492](#211492) by [galas](/forum/user/37946-galas "View galas's Profile")  Replied by *[galas](/forum/user/37946-galas "View galas's Profile")* on topic *[Uninstall custom payment plugin - image](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211492 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9  I have problem with uninstalall my custom payment plugin. When I uninstall plugin, joomla also remove whole images from //media/com&#95;hikashop/images/payment  In my pluginName.xml file is followed code:   pluginName.jpeg   I check out your 'official' hikabitcoin payment plugin and there are the same problem. I try a lot of variation of defiine 'destination', but only solution is not include com&#95;hikashop/images/payment. But i need pligunName.jpeg inside com&#95;hikashop/images/payment folder.  How can I save //media/com&#95;hikashop/images/payment during uninstall, or how can I add my custom image as default paymet image in custom payment plugin?")*

> nicolas wrote: Hi,
>
> You can send an email to contact AT hikashop DOT com with your plugin zip file and we'll review it.
> We might not include it and instead offer on our documentation page directly, like we do with new plugins we develop as the HikaShop install package already includes a lot of payment plugins and there are too many of them already.

I understand, but what about image?
There is no possible to attach image in my custom plugin. I wrote about it in first post.
So should I wait until you update image selector?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 2 months ago [\#211500](#211500) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Uninstall custom payment plugin - image](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211500 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9  I have problem with uninstalall my custom payment plugin. When I uninstall plugin, joomla also remove whole images from //media/com&#95;hikashop/images/payment  In my pluginName.xml file is followed code:   pluginName.jpeg   I check out your 'official' hikabitcoin payment plugin and there are the same problem. I try a lot of variation of defiine 'destination', but only solution is not include com&#95;hikashop/images/payment. But i need pligunName.jpeg inside com&#95;hikashop/images/payment folder.  How can I save //media/com&#95;hikashop/images/payment during uninstall, or how can I add my custom image as default paymet image in custom payment plugin?")*

Hi,

You could potentially put the image in your plugin folder, then add code in the function "onPaymentConfiguration()" which will copy the image to the folder "HIKASHOP_IMAGES .'payment/" directly.

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

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

11 years 2 months ago [\#211688](#211688) by [galas](/forum/user/37946-galas "View galas's Profile")  Replied by *[galas](/forum/user/37946-galas "View galas's Profile")* on topic *[Uninstall custom payment plugin - image](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211688 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9  I have problem with uninstalall my custom payment plugin. When I uninstall plugin, joomla also remove whole images from //media/com&#95;hikashop/images/payment  In my pluginName.xml file is followed code:   pluginName.jpeg   I check out your 'official' hikabitcoin payment plugin and there are the same problem. I try a lot of variation of defiine 'destination', but only solution is not include com&#95;hikashop/images/payment. But i need pligunName.jpeg inside com&#95;hikashop/images/payment folder.  How can I save //media/com&#95;hikashop/images/payment during uninstall, or how can I add my custom image as default paymet image in custom payment plugin?")*

> Xavier wrote: Hi,
>
> You could potentially put the image in your plugin folder, then add code in the function "onPaymentConfiguration()" which will copy the image to the folder "HIKASHOP\_IMAGES .'payment/" directly.

Thnak you. It help me and solve my problem with image

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

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

[](#top)
