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

#   Paypal Adaptive

##

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

Less More

- Posts: 61
- Thank you received: 2
-
-

13 years 4 months ago -  13 years 3 months ago [\#114897](#114897) by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")  *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#114897 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")* was created by *[xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")*

I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly on my App end as well as the Live APP creds. I can't seem to figure out why i am receiving a "The required X-PAYPAL-APPLICATION-ID header is missing from the HTTP request" Error, Any help?

Last edit: 13 years 3 months ago by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 4 months ago [\#114899](#114899) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#114899 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Hi,

I updated the HikaMarket 1.2.0 package with some modifications in the Paypal Adaptive plugin.
Please redownload HikaMarket 1.2.0 and the option "Application Id" should be display in the configuration screen.
With the sandbox, the application id is forced to: "APP-80W284485P519543T".

Sorry for the inconvenient.

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 61
- Thank you received: 2
-
-

13 years 4 months ago [\#114914](#114914) by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")  Replied by *[xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#114914 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Perfect, As always thanks Jerome. I am on the last page of checkout receiving a "User is not allowed to perform this action" I am assuming its because the APP is Conditionally approved?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 4 months ago [\#114916](#114916) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#114916 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Hi,

Your paypal account must be a business account with a verified status.
I will add some support for error messages, you have the first part of the error but there is an extra parameter which indicate the action which is not allowed.

Please check the payment mode you use (parallel, chained). It is possible that you have this problem:

> This error occurs when you have configured the module to use "Chained Payment" mode, but you have not applied "Advanced Service" for Paypal Application ID.
> When you apply for a Paypal Application ID, you are required to choose the level of service. You need to choose Advanced Service to be able to use Chained Payment. You can only use Parallel payments if your choice of Application is for Basic Service. Change the module to use "Parallel Payment" instead of "Chained Payment" mode should resolve this error.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 61
- Thank you received: 2
-
-

13 years 4 months ago [\#114930](#114930) by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")  Replied by *[xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#114930 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Thanks Jerome,

I have setup with "Advanced" I am using a Verified Business Account, I am running Chained in the module and Chained in the advanced setup of my App. I installed the updated version of Hikamarket, but it now shows 2 adaptive plugins.

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

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

Less More

- Posts: 61
- Thank you received: 2
-
-

13 years 4 months ago [\#114937](#114937) by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")  Replied by *[xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#114937 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Okay , I have setup a separate App for parallel and it works, but i have an interesting problem, Might be in the configuration on my Hika side. Let me kknow if you need a separate thread for this. I have an online document that sells for $8.00, I have a 40% commission setup in the config. On Checkout, It labels two separate payments now. One for the intial $8.00 and a $4.20 charge for Primary Receiver. Any ideas?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 4 months ago [\#115048](#115048) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#115048 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Hi,

Where does it label two separate payments ?
It is complicated to understand your problem. Is it possible to have more details and maybe some screenshot of your configuration ?
I don't understand of what your are talking about exactly.

Thanks,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 61
- Thank you received: 2
-
-

13 years 4 months ago [\#115125](#115125) by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")  Replied by *[xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#115125 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Thanks Jerome, The extra payment is on the final checkout, It adds it on the Paypal checkout.

If you want credentials into the backend let me know and i will skype them over to you.

- [ ![paypaladaptive.jpg](/forum/attachment/11273) ](/forum/attachment/11273 "...aladaptive.jpg") [ ](/forum/attachment/11273?download=1 "...aladaptive.jpg")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 4 months ago -  13 years 4 months ago [\#115130](#115130) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#115130 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Hi,

Ok, I got it.
There is a difference of the data send between "chained" and "parallel" modes.
In the plugin, please replace this code: Code:

$full_amount = round($order-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax, (int)$this-&gt;currency-&gt;currency_locale['int_frac_digits']); $e = array( 'email' =&gt; $this-&gt;payment_params-&gt;email, 'amount' =&gt; $full_amount );

By: Code:

$full_amount = round($order-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax, (int)$this-&gt;currency-&gt;currency_locale['int_frac_digits']); if($this-&gt;payment_params-&gt;payment_mode != 'chained') { foreach($suborders as $k =&gt; $suborder) { if($suborder-&gt;order_vendor_id &lt;= 1) continue; $full_amount -= hikashop_toFloat($suborder-&gt;order_vendor_price); } } $e = array( 'email' =&gt; $this-&gt;payment_params-&gt;email, 'amount' =&gt; $full_amount );

It will fix the amount value in the parallel mode.
This part of code was commented in my plugin because it generated an error in chained payment. But I didn't realized that it was still useful in parallel mode.

Thanks for the feedback !

PS: I will update the package as soon as possible

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 13 years 4 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

Less More

- Posts: 61
- Thank you received: 2
-
-

13 years 4 months ago [\#115134](#115134) by [xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")  Replied by *[xsbucks](/forum/user/22196-xsbucks "View xsbucks's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#115134 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Haha Jerome do you ever sleep??
That worked perfectly. Thanks for that.

Do you happen to have a code to not show the breakdown on that same checkout window, but to just show a final total and have the parallel separate the payments in stealth? I would like to have the end user not to be able to see the commission breakdown.

Thanks Jerome.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 4 months ago [\#115135](#115135) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paypal Adaptive](/forum/19-hikamarket/85561-paypal-adaptive#115135 "I have created a New App for this E-Commerce System. I had a paypal adaptive working on a previous E-Commerce web system. I am trying to get it to work on Hika Market. I have everything setup properly...")*

Hi,

If you don't want that the final customer see the commission, you have to use the "chained" mode.
At this moment, the customer will just see one price (the order total) and won't see the vendor's totals.

You can see the illustrations in the Paypal Adaptive documentation (parallel / chained)
[ developer.paypal.com/webapps/developer/d...ation-guide/APIntro/](https://developer.paypal.com/webapps/developer/docs/classic/adaptive-payments/integration-guide/APIntro/)

You're welcome

PS: Yes sometimes I sleep

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.102 seconds

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