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

#   Payment Method Not showing

##

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

Less More

- Posts: 175
- Thank you received: 0
-
-

10 years 9 months ago [\#227835](#227835) by [veeco](/forum/user/18501-veeco "View veeco's Profile")  *[Payment Method Not showing](/forum/29-payment-methods/881897-payment-method-not-showing#227835 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.36  Hello  i tried to create a new custom payment plugins and it doesnt show in the checkout process i have read   www.hikashop.com/support/support/documen...ntation.html#payment  and checked single one of it and it's all ok  this is pastebin of my code    pastebin.com/7uXcx2VT  any suggestion?")* was created by *[veeco](/forum/user/18501-veeco "View veeco's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.36

Hello

i tried to create a new custom payment plugins and it doesnt show in the checkout process
i have read [ www.hikashop.com/support/support/documen...ntation.html#payment](http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html#payment) and checked single one of it and it's all ok

this is pastebin of my code

[ pastebin.com/7uXcx2VT](http://pastebin.com/7uXcx2VT)

any suggestion?

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

10 years 9 months ago [\#227858](#227858) 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 *[Payment Method Not showing](/forum/29-payment-methods/881897-payment-method-not-showing#227858 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.36  Hello  i tried to create a new custom payment plugins and it doesnt show in the checkout process i have read   www.hikashop.com/support/support/documen...ntation.html#payment  and checked single one of it and it's all ok  this is pastebin of my code    pastebin.com/7uXcx2VT  any suggestion?")*

Hello,
You should follow each point of the Payment section of the FAQ : [ www.hikashop.com/support/faq.html#paym](http://www.hikashop.com/support/faq.html#paym)

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

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

Less More

- Posts: 175
- Thank you received: 0
-
-

10 years 9 months ago [\#227961](#227961) by [veeco](/forum/user/18501-veeco "View veeco's Profile")  Replied by *[veeco](/forum/user/18501-veeco "View veeco's Profile")* on topic *[Payment Method Not showing](/forum/29-payment-methods/881897-payment-method-not-showing#227961 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.36  Hello  i tried to create a new custom payment plugins and it doesnt show in the checkout process i have read   www.hikashop.com/support/support/documen...ntation.html#payment  and checked single one of it and it's all ok  this is pastebin of my code    pastebin.com/7uXcx2VT  any suggestion?")*

Hello

thank you, i will look into it again to see if i miss anything

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

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

Less More

- Posts: 175
- Thank you received: 0
-
-

10 years 9 months ago -  10 years 9 months ago [\#228135](#228135) by [veeco](/forum/user/18501-veeco "View veeco's Profile")  Replied by *[veeco](/forum/user/18501-veeco "View veeco's Profile")* on topic *[Payment Method Not showing](/forum/29-payment-methods/881897-payment-method-not-showing#228135 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.36  Hello  i tried to create a new custom payment plugins and it doesnt show in the checkout process i have read   www.hikashop.com/support/support/documen...ntation.html#payment  and checked single one of it and it's all ok  this is pastebin of my code    pastebin.com/7uXcx2VT  any suggestion?")*

Hello

after looking more into it, i finally got it to work

however, when click on the next step to get the order detail, the purchase method doesnt show

works fine when choosing payment method
[ i.imgur.com/uyuL2rW.jpg](http://i.imgur.com/uyuL2rW.jpg)

order detail - doesnt show
[ i.imgur.com/SmJNmPJ.jpg](http://i.imgur.com/SmJNmPJ.jpg)

any suggestion?

Last edit: 10 years 9 months ago by [veeco](/forum/user/18501-veeco "View veeco's Profile").

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

10 years 9 months ago [\#228164](#228164) 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 *[Payment Method Not showing](/forum/29-payment-methods/881897-payment-method-not-showing#228164 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.36  Hello  i tried to create a new custom payment plugins and it doesnt show in the checkout process i have read   www.hikashop.com/support/support/documen...ntation.html#payment  and checked single one of it and it's all ok  this is pastebin of my code    pastebin.com/7uXcx2VT  any suggestion?")*

Hello,
Can you give me more informations on the payment method you are using and how did you exactly configured it through some screenshots for example ?
Thanks.

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

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

Less More

- Posts: 175
- Thank you received: 0
-
-

10 years 9 months ago [\#228669](#228669) by [veeco](/forum/user/18501-veeco "View veeco's Profile")  Replied by *[veeco](/forum/user/18501-veeco "View veeco's Profile")* on topic *[Payment Method Not showing](/forum/29-payment-methods/881897-payment-method-not-showing#228669 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.36  Hello  i tried to create a new custom payment plugins and it doesnt show in the checkout process i have read   www.hikashop.com/support/support/documen...ntation.html#payment  and checked single one of it and it's all ok  this is pastebin of my code    pastebin.com/7uXcx2VT  any suggestion?")*

Hello, sorry for late reply

this is my script

[ www.mediafire.com/download/0l7dh5qqzw67arf/ionpay.rar](http://www.mediafire.com/download/0l7dh5qqzw67arf/ionpay.rar)

I think something is missing [payment name?] and thats causing the method name not appearing

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODE4OTctcGF5bWVudC1tZXRob2Qtbm90LXNob3dpbmc/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

10 years 9 months ago [\#228703](#228703) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment Method Not showing](/forum/29-payment-methods/881897-payment-method-not-showing#228703 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.36  Hello  i tried to create a new custom payment plugins and it doesnt show in the checkout process i have read   www.hikashop.com/support/support/documen...ntation.html#payment  and checked single one of it and it's all ok  this is pastebin of my code    pastebin.com/7uXcx2VT  any suggestion?")*

Hi,

I see two problems in your payment plugin code:
1. You have the code: Code:

function onPaymentSave(&amp;$cart,&amp;$rates,&amp;$payment_id){ }

Since you don't extend from hikashopPaymentPlugin, but directly from JPlugin, you indeed need that function, and in it, you need to add the code to store the selection of the customer. Otherwise, the payment method won't be registered as being selected.
The function should be like that: Code:

function onPaymentSave(&amp;$cart,&amp;$rates,&amp;$payment_id){ $usable = array(); $this-&gt;onPaymentDisplay($cart,$rates,$usable); $payment_id = (int) $payment_id; foreach($usable as $usable_method){ if($usable_method-&gt;payment_id==$payment_id){ return $usable_method; } } return false; }

Also, on the line:
var $name = 'IONPay';
it should all be in lowercase.

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

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

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

Less More

- Posts: 175
- Thank you received: 0
-
-

10 years 9 months ago [\#228844](#228844) by [veeco](/forum/user/18501-veeco "View veeco's Profile")  Replied by *[veeco](/forum/user/18501-veeco "View veeco's Profile")* on topic *[Payment Method Not showing](/forum/29-payment-methods/881897-payment-method-not-showing#228844 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.36  Hello  i tried to create a new custom payment plugins and it doesnt show in the checkout process i have read   www.hikashop.com/support/support/documen...ntation.html#payment  and checked single one of it and it's all ok  this is pastebin of my code    pastebin.com/7uXcx2VT  any suggestion?")*

Hello, THANK YOU so much

it finally show up on checkout page

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

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