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

#   Hook to add user question during checkout

##

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

Less More

- Posts: 45
- Thank you received: 0
-
-

11 years 9 months ago -  11 years 9 months ago [\#186652](#186652) by [paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile")  *[Hook to add user question during checkout](/forum/31-development/874254-hook-to-add-user-question-during-checkout#186652 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  I'm about to develop a payment plugin, where the user is required to select a bank, before the payment transaction can be created, I.e. the name of the user's bank must be known before communicating to Payment Service Provider. I'm looking for a hook where to inject the code to ask the user for these details, but couldn't find any.  I'm about to alter the code in views/checkout/tmpl/payment.php to look for a file in the corresponding payment plug-in dir, that contains the additional user interaction.  Do you have any thoughts on this? Is there an alternative?  Thanks and regards, Paul van Haren")* was created by *[paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6

I'm about to develop a payment plugin, where the user is required to select a bank, before the payment transaction can be created, I.e. the name of the user's bank must be known before communicating to Payment Service Provider. I'm looking for a hook where to inject the code to ask the user for these details, but couldn't find any.

I'm about to alter the code in views/checkout/tmpl/payment.php to look for a file in the corresponding payment plug-in dir, that contains the additional user interaction.

Do you have any thoughts on this? Is there an alternative?

Thanks and regards, Paul van Haren

Last edit: 11 years 9 months ago by [paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile").

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

11 years 9 months ago [\#186659](#186659) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hook to add user question during checkout](/forum/31-development/874254-hook-to-add-user-question-during-checkout#186659 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  I'm about to develop a payment plugin, where the user is required to select a bank, before the payment transaction can be created, I.e. the name of the user's bank must be known before communicating to Payment Service Provider. I'm looking for a hook where to inject the code to ask the user for these details, but couldn't find any.  I'm about to alter the code in views/checkout/tmpl/payment.php to look for a file in the corresponding payment plug-in dir, that contains the additional user interaction.  Do you have any thoughts on this? Is there an alternative?  Thanks and regards, Paul van Haren")*

Hi,

No need to change a view or core files code.
I would recommend that you look at the plugins/hikashoppayment/purchaseorder payment plugin which uses the same triggers you would need in order to add a field for the user to fill in his purchase order number during the checkout if he selects this payment method.

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

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

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

Less More

- Posts: 45
- Thank you received: 0
-
-

11 years 9 months ago [\#186806](#186806) by [paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile")  Replied by *[paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile")* on topic *[Hook to add user question during checkout](/forum/31-development/874254-hook-to-add-user-question-during-checkout#186806 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  I'm about to develop a payment plugin, where the user is required to select a bank, before the payment transaction can be created, I.e. the name of the user's bank must be known before communicating to Payment Service Provider. I'm looking for a hook where to inject the code to ask the user for these details, but couldn't find any.  I'm about to alter the code in views/checkout/tmpl/payment.php to look for a file in the corresponding payment plug-in dir, that contains the additional user interaction.  Do you have any thoughts on this? Is there an alternative?  Thanks and regards, Paul van Haren")*

Thank you. This is exactly what I was hoping for. I'm glad I asked.

Thanks again, Paul

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

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