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

#   Custom Javascript application integration

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

12 years 9 months ago [\#138680](#138680) by [Visovsiouk](/forum/user/30548-visovsiouk "View Visovsiouk's Profile")  *[Custom Javascript application integration](/forum/29-payment-methods/864783-custom-javascript-application-integration#138680 "-- HikaShop version -- : Starter 2.2.3 -- Joomla version -- : 3.1 -- PHP version -- : 5.x.x  I have created a custom Javascript application for my website. A customer can choose different products (not affiliated with HikaShop), the application calculates an overall price and shows it as a string. My question is: Can I make HikaShop read that string as a product price and then pass it to PayPal for processing?")* was created by *[Visovsiouk](/forum/user/30548-visovsiouk "View Visovsiouk's Profile")*

-- HikaShop version -- : Starter 2.2.3
-- Joomla version -- : 3.1
-- PHP version -- : 5.x.x

I have created a custom Javascript application for my website. A customer can choose different products (not affiliated with HikaShop), the application calculates an overall price and shows it as a string. My question is: Can I make HikaShop read that string as a product price and then pass it to PayPal for processing?

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

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 9 months ago [\#138683](#138683) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Javascript application integration](/forum/29-payment-methods/864783-custom-javascript-application-integration#138683 "-- HikaShop version -- : Starter 2.2.3 -- Joomla version -- : 3.1 -- PHP version -- : 5.x.x  I have created a custom Javascript application for my website. A customer can choose different products (not affiliated with HikaShop), the application calculates an overall price and shows it as a string. My question is: Can I make HikaShop read that string as a product price and then pass it to PayPal for processing?")*

Hi,

You can do that by calling the add to cart URL of a product and having a custom item field with the calculated price in it and then having the donation plugin use that price for the product:
[ www.hikashop.com/forum/2-general-talk-ab...-product-fields.html](http://www.hikashop.com/forum/2-general-talk-about-hikashop/16216-add-to-cart-link-and-custom-product-fields.html)
[ demo.hikashop.com/index.php?option=com\_h...ct&amp;task=show&amp;cid=214](http://demo.hikashop.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=214)

The following user(s) said Thank You: [Visovsiouk](/forum/user/30548-visovsiouk "View Visovsiouk's Profile")

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

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

[](#top)
