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

#   Adding a Payment Method

##

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

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 7 months ago -  14 years 7 months ago [\#48012](#48012) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  *[Adding a Payment Method](/forum/4-how-to/48012-adding-a-payment-method#48012 "Hello again. I recently needed to create a new method (or customize other), but i want to create one that will not be deleted or rollbacked after each Hikashop update. My idea was to create a new method and customize it how i want.  I just want to know what i need to do to add a new payment plugin? I add a new folder at: HOME/administrator/components/com&#95;hikashop/extensions and HOME/plugins/hikashoppayment. and configured the xmls, tho still is not showing at the back-end payment methods.  Any advices?  NOTE: if is there a way to download a zip of a plugin payment, that will be great.")* was created by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")*

Hello again.
I recently needed to create a new method (or customize other), but i want to create one that will not be deleted or rollbacked after each Hikashop update.
My idea was to create a new method and customize it how i want.

I just want to know what i need to do to add a new payment plugin?
I add a new folder at: HOME/administrator/components/com_hikashop/extensions and HOME/plugins/hikashoppayment. and configured the xmls, tho still is not showing at the back-end payment methods.

Any advices?

NOTE: if is there a way to download a zip of a plugin payment, that will be great.

Last edit: 14 years 7 months ago by [bars92](/forum/user/3048-bars92 "View bars92's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4MDEyLWFkZGluZy1hLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14327
-
-

14 years 7 months ago [\#48079](#48079) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Adding a Payment Method](/forum/4-how-to/48012-adding-a-payment-method#48079 "Hello again. I recently needed to create a new method (or customize other), but i want to create one that will not be deleted or rollbacked after each Hikashop update. My idea was to create a new method and customize it how i want.  I just want to know what i need to do to add a new payment plugin? I add a new folder at: HOME/administrator/components/com&#95;hikashop/extensions and HOME/plugins/hikashoppayment. and configured the xmls, tho still is not showing at the back-end payment methods.  Any advices?  NOTE: if is there a way to download a zip of a plugin payment, that will be great.")*

Only HOME/plugins/hikashoppayment is used.
Also, you need to zip the files of the plugin and install the package via the joomla installer.

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

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

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 7 months ago [\#48138](#48138) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Adding a Payment Method](/forum/4-how-to/48012-adding-a-payment-method#48138 "Hello again. I recently needed to create a new method (or customize other), but i want to create one that will not be deleted or rollbacked after each Hikashop update. My idea was to create a new method and customize it how i want.  I just want to know what i need to do to add a new payment plugin? I add a new folder at: HOME/administrator/components/com&#95;hikashop/extensions and HOME/plugins/hikashoppayment. and configured the xmls, tho still is not showing at the back-end payment methods.  Any advices?  NOTE: if is there a way to download a zip of a plugin payment, that will be great.")*

Good it worked, i copied an existing payment method and changed is params and name. Although now when i try to go to back-end payment configuration it displays an error:

Order status
Fatal error: Call to a member function display() on a non-object in ...

I need this params because it defines the types of order status.
What may be the caus of that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4MDEyLWFkZGluZy1hLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14327
-
-

14 years 7 months ago [\#48147](#48147) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Adding a Payment Method](/forum/4-how-to/48012-adding-a-payment-method#48147 "Hello again. I recently needed to create a new method (or customize other), but i want to create one that will not be deleted or rollbacked after each Hikashop update. My idea was to create a new method and customize it how i want.  I just want to know what i need to do to add a new payment plugin? I add a new folder at: HOME/administrator/components/com&#95;hikashop/extensions and HOME/plugins/hikashoppayment. and configured the xmls, tho still is not showing at the back-end payment methods.  Any advices?  NOTE: if is there a way to download a zip of a plugin payment, that will be great.")*

Please give the rest of the error message

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

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

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 7 months ago -  14 years 7 months ago [\#48158](#48158) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Adding a Payment Method](/forum/4-how-to/48012-adding-a-payment-method#48158 "Hello again. I recently needed to create a new method (or customize other), but i want to create one that will not be deleted or rollbacked after each Hikashop update. My idea was to create a new method and customize it how i want.  I just want to know what i need to do to add a new payment plugin? I add a new folder at: HOME/administrator/components/com&#95;hikashop/extensions and HOME/plugins/hikashoppayment. and configured the xmls, tho still is not showing at the back-end payment methods.  Any advices?  NOTE: if is there a way to download a zip of a plugin payment, that will be great.")*

that all.. the rest is location.

Fatal error: Call to a member function display() on a non-object in HOME/plugins/hikashoppayment/pelecard/pelecard_configuration.php on line 18

The line 18 is:

&lt;?php echo $this-&gt;data-&gt;display("data[payment][payment_params][order_status]",@$this-&gt;element-&gt;payment_params-&gt;order_status); ?&gt;

Last edit: 14 years 7 months ago by [bars92](/forum/user/3048-bars92 "View bars92's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4MDEyLWFkZGluZy1hLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14327
-
-

14 years 7 months ago [\#48166](#48166) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Adding a Payment Method](/forum/4-how-to/48012-adding-a-payment-method#48166 "Hello again. I recently needed to create a new method (or customize other), but i want to create one that will not be deleted or rollbacked after each Hikashop update. My idea was to create a new method and customize it how i want.  I just want to know what i need to do to add a new payment plugin? I add a new folder at: HOME/administrator/components/com&#95;hikashop/extensions and HOME/plugins/hikashoppayment. and configured the xmls, tho still is not showing at the back-end payment methods.  Any advices?  NOTE: if is there a way to download a zip of a plugin payment, that will be great.")*

That means that in the function onPaymentConfiguration of your plugin, you don't have the lines:
$this-&gt;category = hikashop_get('type.categorysub');
$this-&gt;category-&gt;type = 'status';

like all the others payment plugins.

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

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

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 7 months ago [\#48816](#48816) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Adding a Payment Method](/forum/4-how-to/48012-adding-a-payment-method#48816 "Hello again. I recently needed to create a new method (or customize other), but i want to create one that will not be deleted or rollbacked after each Hikashop update. My idea was to create a new method and customize it how i want.  I just want to know what i need to do to add a new payment plugin? I add a new folder at: HOME/administrator/components/com&#95;hikashop/extensions and HOME/plugins/hikashoppayment. and configured the xmls, tho still is not showing at the back-end payment methods.  Any advices?  NOTE: if is there a way to download a zip of a plugin payment, that will be great.")*

OK i found out what was the problem after adding those lines.

thank you again.

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

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