calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
31.95k stars 7.82k forks source link

Error stripe fee #15725

Open Deyvi-dev opened 3 months ago

Deyvi-dev commented 3 months ago

I'm trying to integrate my self-hosted Cal.com instance with Stripe Connect to resell the scheduling service to clients. The goal is to automatically receive a percentage of each transaction as a commission before transferring the net amount to the client.

I have added the variables payment_fee_fixed and payment_fee_percentage to handle the commission fees. However, when I test a payment, it is not splitting the transaction and transferring the appropriate amounts. Steps to Reproduce:

Set up self-hosted Cal.com.
Integrate Stripe Connect.
Add variables for commission fees:
    payment_fee_fixed
    payment_fee_percentage
Execute a test payment.

Expected Result:

The payment should be split according to the fixed fee and percentage fee, with the appropriate amounts transferred to the respective parties.

PeerRich commented 3 months ago

i swear we had issues with stripe connect before. which country are you from? i think its not avaialble everywehre. what error do you get?

Deyvi-dev commented 3 months ago

I am from Brazil. As I mentioned, I added the Stripe environment variables correctly and installed the Stripe app. However, when I try to make a payment, it sends 100% of the amount to the recipient without deducting the fees. The payment remains pending on the platform, even though it has been paid.