Services Plugins FAQs

Stripe marketplace - On Behalf

Thanks @peter3 for feedback.

In this case, you’ll just need calculate the fees accordingly if you want your sellers to receive complete 80% and you’ll take care of the fees. You can check Stripe’s transaction fees + some processing fees so you can lower the fees in your app. This way, your seller can get the 80% without actually being charged for fees as well.

Hope it helps.

If you use the OnBehalf model, then it’s auto worked out for you. The fees can be different depending upon the deals you have with Stripe and the location of the buyer.

Can you run through the situation I have covered and see what happens.

Thanks @peter3 for feedback.

Sorry for any misunderstanding. The on_behalf_of parameter is the ID of the connected account to use as the business of record for the payment. When it is set , Stripe automatically:

  • Settles charges in the country of the specified account, thereby minimizing declines and avoiding currency conversions
  • Uses the fee structure for the connected account’s country
  • If the account is in a different country than the platform, the connected account’s address and phone number shows up on the customer’s credit card statement (as opposed to the platform’s)

Unfortunately, this parameter doesn’t change anything related to the fee amount and who is paying it. From every transaction, Stripe will always take a cut no matter who is charged, who is receiving the money or what type of transaction it is.

So as previously mentioned, the solution will be to set a smaller app fee so the seller won’t feel the Stripe fees.

Thanks :pray:

I think you are reading this wrong.

OnBehalf means the owner of the platform pays the stripe fee, not the connected account and that is what I’m wanting and is reflected correctly in the diagram above.

But when I insert the SellerID into the OnBehalf I get the error message. What I’m asking is what ID do I insert into this field.

ie, please tell me how to get OnBehalf to work or tell me which button shows this working as have looked at all and found none with OnBehalf set with a value.

Hi @peter3,

Please let us check on it with our dev team if we can do anything about it at this point, to see whether or not it is possible to accomplish what you are looking into. I’ll get back to you with a reply asap. :pray:

Thanks for your patience.

@peter3

Unfortunately, this feature is not intended to accomplish what you are looking into. As explained previously, it just specifies the business of record for the payment. The money therefore are charged by the platform and then you can transfer them to a seller. But you actually pay the stripe fees 2 times doing so. So as explained above, this parameter is not what you need I’m afraid. You just need to lower the app fee if you, as a platform, want to pay the stripe fees. It’s the most logic thing to do and you pay stripe fees only once.

However,

Here is a quick video of how you should set things up to make it work, if you will: https://www.loom.com/share/e82d82c0520c4750ba929de6aa4ba13a

You will need to make a transfer to the seller those funds were intended, and you will see if it works.

Thanks

I think I see the problem now is it isn’t OnBehalf I should be using but Collecting fees with transfer_data[amount]which you don’t support. Will create my own model for this, same as which I’ve already form the the update command.

As for OnBehalf when I watch the video and the reason I may get the error is that my capture method is manual where yours is empty. Your video has the data inserted, but not run to show the payment.

https://stripe.com/docs/connect/destination-charges

Hi @peter3,

Please give it a try with the setups as per video instruction and you can preview it and test it out. It should work with no errors.

Thanks :pray:

I have finally got back to this and worked out the problem.

If SellerID is not filled in you are sending “null” in this field which is causing the error.

Exactly as per the error message from Stripe.

1 Like

Thanks @peter3 for confirming.

I’m glad you managed to work it out. If you like our plugin so far, could you please rate it by going to Plugins tab in Bubble editor? You can find the plugin by name and give it as many stars as it deserves. The more feedback we get, the more motivated we are to build great plugins and improve existing ones.

Thanks!

Will do once this problem is fixed in stopping the “null” value being sent if the SellerID field is empty unless there is a setting in Bubble to stop this.

Let me know when fixed as I have this same problem using the API calls to my backend and have code to deal with it in my backend.

Sorry @peter3 but this null error is caused when the setup is wrong. If you set it right, even by leaving the Seller ID field empty, it will not throw any error messages.

Could you please share screenshots and/or screencast of all your settings so we can check on it and see where the problem is.

All my settings are generic.

I get this “null” problem with my API calls if I leave the field blank, could this be the problem and not actually caused by you but something Bubble is doing. Looked at my export file and saw the in the problem ones I had in “sample_value” a null, not a blank space.




Thanks @peter3 for feedback, but could you please share the complete setups of your actions as well, because these are important in this case.


As you can see you are the first action in the list.

This all works if I insert the SellerID in the field.

Thanks @peter3,

And we also need to see the full property editor setups of Create a session and Go to checkout actions, as it is shown in our loom:

Thanks!

Shows with SellerID filled in and not and shows what is happening in each case with only that value being changed.

Hi @peter3,

Thanks for this video. In order to make this action work, you have to leave the following fields empty:

image

So just make it exactly as per our loom, meaning completing only the provided fields.

You don’t need to set an App Fee because by using this call, all the money gets transferred to your platform, so you don’t need to set a fee. And then if you want to transfer the money to the seller, you need to use a separate call. But why to use it this way when you can simply send the money to the seller and set a smaller App Fee so the complete product sale goes to your seller, and you take care of fees. This is just as previously mentioned in this forum thread.

The OnBehalf is simply for business record. Platform gets the money, but in transaction there is specified a seller as beneficiary. But in order for this seller to receive the money, you’ll need to use a separate call. This way, money gets transferred to your platform and Stripe charges a fee, and when you transfer the money to your seller, Stripe charges a fee again.

Thanks

It is clear that you don’t support this model and I will do my own code to handle this then.

I have a second problem in the seller of the service can change the price and by using the ‘manual’ model, this then allow changes to be made or if they do the service for free, then the transaction can be cancelled with no fees.

The fee is a variable as depends upon country and deal done with Stripe.

https://stripe.com/docs/connect/collect-then-transfer-guide

Hi @peter3,

I’m afraid I don’t fully understand this part:

But yes, the fee depends upon country:

Is there any way I can still help you with the OnBehalf feature when creating a session?

Best,