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

#   Problem with Stripe Connect plugin

##

- **[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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 3 weeks ago [\#299339](#299339) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#299339 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

Hello,

By using an adaptive payment plugin, you must be in "store paid directly".
Because if the vendor do not have a stripe account, the money will be sent to the store (so it can pay the vendor back manually).

Please provide more details so we can understand fully your problem.
But please, do only your tests in "store paid directly" ; that is the only valid mode.

Regards,

---

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

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

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

Less More

- Posts: 71
- Thank you received: 3
-
-

8 years 3 weeks ago [\#299431](#299431) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#299431 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

> Because if the vendor do not have a stripe account, the money will be sent to the store (so it can pay the vendor back manually).

The situation where the vendor is not paid directly is the exception to the rule.
In most of the cases, the vendor will receive directly his money through Stripe.

My problem is that I can't use the vendor invoicing system with that setting "store paid directly".
I would like to invoice vendors for the amount of commission we take.
It is the case with the setting "vendor paid directly" but not with "store paid directly", for which invoices are for the full amount and from vendor to marketplace (right ?).

So I don't fully understand why you associate the setting "store paid directly" with the stripe payment, wouln't it be more logical in the other way around ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk1NDA3LXByb2JsZW0td2l0aC1zdHJpcGUtY29ubmVjdC1wbHVnaW4/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 3 weeks ago [\#299432](#299432) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#299432 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

Hello,

If one single vendor do not have a Stripe account (or a paypal account if you're using Paypal Adaptive) ; when it comes to the payment, where the plugin would sent the money of that vendor ?

I told you : "By using an adaptive payment plugin, you **must** be in store paid directly." for a reason and the "must" is also there for a reason.
It is not possible to to the inverse ; otherwise it would mean that some money could be lost without any possibility to retrieve it.

Regards,

---

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

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

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

Less More

- Posts: 71
- Thank you received: 3
-
-

8 years 2 weeks ago [\#299646](#299646) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#299646 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

Hello,

It could be useful to have a process to avoid this problem, and treat it as an anomaly ![:-)](/media/kunena/emoticons/3.png ":-)")

For example, Hikamarket may prevent, as soon as the stripe payment mode is activated, any order / sale to be created for the vendor (or vendor products to be activated) until he has connected his stripe account,, what do you think ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk1NDA3LXByb2JsZW0td2l0aC1zdHJpcGUtY29ubmVjdC1wbHVnaW4/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 2 weeks ago [\#299648](#299648) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#299648 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

Hello,

"Vendor paid directly" is a mode that you need to use only with manual payment method ; such as "collect on delivery".
So I'm afraid that I do not understand your request.

Regards,

---

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

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

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

Less More

- Posts: 71
- Thank you received: 3
-
-

7 years 9 months ago [\#303570](#303570) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#303570 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

Hello Jerome,

I have a problem with hikamarket and certainly more precisely with the stripe payment plugin : two payment made by the customer for the same order. It happened for the last two orders.

I checked with Stripe support : the problem comes from our side, the logs show that the charge requests for both payment came from hikashop

They told me about the idempotency functionality in Stripe that can help reduce the risk of these types of issues : [ stripe.com/docs/api/idempotent\_requests](https://stripe.com/docs/api/idempotent_requests)

Thanks for your help !

Marina

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk1NDA3LXByb2JsZW0td2l0aC1zdHJpcGUtY29ubmVjdC1wbHVnaW4/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

7 years 9 months ago -  7 years 9 months ago [\#303572](#303572) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#303572 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

Hello,

See : [ www.hikashop.com/forum/payment-methods/8...plicate-charges.html](https://www.hikashop.com/forum/payment-methods/896790-stripe-connect-duplicate-charges.html)

As explained in the other thread ; the fact that the form is submitted twice will generate two call to the HikaShop payment notification and two calls to the Stripe Charge processing.
The plugin cannot perform two calls to the Stripe system if the notification is call just one time.

Thus, in the view "stripconnect_end.php" (that you can find in the plugin folder), you can replace Code:

event.preventDefault();

By Code:

event.preventDefault(); if(form.tokenCreation) return; form.tokenCreation = true;

And also replace Code:

errorElement.textContent = result.error.message;

By Code:

errorElement.textContent = result.error.message; form.tokenCreation = false;

It will use a variable in the payment form to avoid the multiple submission (and multiple token creation).

The usage of "idempotent" is a possibility but I would prefer to not use it.
Since the plugin is currently evolving to support more case and integrate with the checkout payment block ; such double validation won't be possible anymore with that new integration.

Regards,

---

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

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

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

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

Less More

- Posts: 71
- Thank you received: 3
-
-

7 years 9 months ago [\#303664](#303664) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#303664 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

Thanks a lot for your answer Jerome. and sorry for not having searched before asking :whistle:

Should I test this mod before apply it ? (I am in live mode)

Many thanks

Marina

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODk1NDA3LXByb2JsZW0td2l0aC1zdHJpcGUtY29ubmVjdC1wbHVnaW4/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

7 years 9 months ago [\#303671](#303671) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem with Stripe Connect plugin](/forum/23-market-how-to/895407-problem-with-stripe-connect-plugin?start=20#303671 "-- HikaShop version -- : 3.5.1 -- HikaMarket version -- : 2.1.1 -- Joomla version -- : 3.8.6  Hello,  We are testing the Stripe Connect plugin with Hikamarket, and what we get from these tests seem quite weird. We used the Stripe account link feature and it correctly created a Stripe account for our test vendor. Then, we created an order for a product with price of 100 EUR (+20% TVA) from this vendor, with a commission of 10%.  Stripe received the payment, and generated &gt; on one side a transfer of 120 euros &gt; and on the other side a collected fee of 120 euros, both related to the vendor.  At the end, we have nothing in our balance, neither the vendor (120 € - 120 € = 0).  So it seems there is a problem with the calculation of application fees and we don't know where is the money...  Here is the detail of the log :  Request POST body { &quot;amount&quot;: &quot;12000&quot;, &quot;currency&quot;: &quot;EUR&quot;, &quot;description&quot;: &quot;Numéro de commande : 186&quot;, &quot;metadata&quot;: { &quot;order&#95;id&quot;: &quot;186&quot; }, &quot;application&#95;fee&quot;: &quot;13200&quot;, &quot;destination&quot;: { &quot;account&quot;: &quot;acct&#95;1CuIDcFk8ZPsUimi&quot; }, &quot;customer&quot;: &quot;cus&#95;DKyHeCU9bMCaht&quot; }  Many thanks for your help !!")*

Hello,

The modification affect few lines and it's just some JavaScript.
For sure I would recommend you to perform a copy of the "stripconnect_end" file and to test the checkout final screen.
But the patch is really small and I tested it in my local website.

Regards,

---

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

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

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