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

#   Create Another User point Payment Plugin

##

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 9 months ago [\#230632](#230632) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  *[Create Another User point Payment Plugin](/forum/29-payment-methods/882450-create-another-user-point-payment-plugin#230632 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : Google Chrome  Hi, I would like to create another user point payment method but I have no idea what to configure by using existing user point payment plugin. Can I get some help for this? Thanks.")* was created by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- Browser(s) name and version -- : Google Chrome

Hi,
I would like to create another user point payment method but I have no idea what to configure by using existing user point payment plugin.
Can I get some help for this?
Thanks.

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

10 years 9 months ago [\#230635](#230635) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Create Another User point Payment Plugin](/forum/29-payment-methods/882450-create-another-user-point-payment-plugin#230635 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : Google Chrome  Hi, I would like to create another user point payment method but I have no idea what to configure by using existing user point payment plugin. Can I get some help for this? Thanks.")*

Hi,

I'm not following you. You can create as many user points payment methods as you want with the "new" button of the menu System&gt;Payment methods. The same way you created the first one.
Is that what you're asking ?

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 9 months ago [\#230688](#230688) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Create Another User point Payment Plugin](/forum/29-payment-methods/882450-create-another-user-point-payment-plugin#230688 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : Google Chrome  Hi, I would like to create another user point payment method but I have no idea what to configure by using existing user point payment plugin. Can I get some help for this? Thanks.")*

Hi Nicolas,

No,
I mean there is an userpoint payment plugin under hikapayment but I want to create another plugin call userpoint2 that has the same function with userpoint payment plugin. But currently I do not know which part of the file should be configure to create userpoint2 payment plugin.

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 9 months ago [\#230691](#230691) by [haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")  Replied by *[haur0214](/forum/user/39931-haur0214 "View haur0214's Profile")* on topic *[Create Another User point Payment Plugin](/forum/29-payment-methods/882450-create-another-user-point-payment-plugin#230691 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : Google Chrome  Hi, I would like to create another user point payment method but I have no idea what to configure by using existing user point payment plugin. Can I get some help for this? Thanks.")*

Hi Nicolas,

I have created another userpoint plugin with different logic from original hikauserpoint plugin and name it as userpoint2.
After install this plugin zipfile, I can configure this plugin and publish from backend. However the payment method during checkout do not content this plugin

I have tried back the example.zip payment plugin it is the same result do not show in checkout. Can you guide us where is the problem?

Thanks.

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

10 years 9 months ago [\#230733](#230733) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Create Another User point Payment Plugin](/forum/29-payment-methods/882450-create-another-user-point-payment-plugin#230733 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : Google Chrome  Hi, I would like to create another user point payment method but I have no idea what to configure by using existing user point payment plugin. Can I get some help for this? Thanks.")*

Hi,

You have the line:
$this-&gt;userpointsplugins = hikashop_import('hikashop', 'userpoints2');
while it should be:
$this-&gt;userpointsplugins = hikashop_import('hikashop', 'userpoints');
in your plugin.
That might explain the issue since it means that it's not able to load the settings of the HikaShop user points plugin.

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

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

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