#Aastone

1 messages · Page 1 of 1 (latest)

olive lanceBOT
patent acorn
#

Hi there!

#

What is your question?

gentle timber
#

Thanks for your answer, let me explain a little better

#

I have built an api to make a subscription system for a customer using stripe connect

#

I want customer to be able to subscribe for a service

#

and pay it on a monthly basis

#

on each payments

#

I take 10% of the amount and split the amount in 2

#

half for the platform half for my client

#

the rest of the money is going to the service provider

#

i'm listening to a webhook to know when the payment is successful

#

my problem here is that it doesn't work when the balance of my account is empty

#

and i get emails saying that something is wrong with my webhook

#

My account is setup to wire the money on my balance everyday

#

is there a way to keep a minimum amount on my balance or an other way to fix this problem?

patent acorn
#

my problem here is that it doesn't work when the balance of my account is empty
When do you get that error? When you try to transfer money to a connected account?

gentle timber
#

I get this problem when i charge client for his monthly plan and my api is trying to split the money on child account with an empty balance

#

this is the email i get:

We’ve had some trouble sending requests in test mode to a webhook endpoint associated with your BLACKBOX Club account. Stripe sends webhook events to your server to notify you of activity in your Stripe account, such as a completed payout or a newly-created invoice.

patent acorn
#

I get this problem when i charge client for his monthly plan and my api is trying to split the money on child account with an empty balance
How do you split the money on the child account? By calling the transfer endpoint? And does the API call succeeds or fail?

devout pilot
#

Hi there 👋 I'm jumping in as my teammate needed to step away.

gentle timber
#

give me a minute i'm asking

devout pilot
gentle timber
devout pilot
#

When working with Separate Charges and Transfers, we have functionality available that allows you to tie the creation of a Transfer to a processing payment:
https://stripe.com/docs/connect/charges-transfers#transfer-availability
With this flow, you can specify the payment that the Transfer should be related to, and the Transfer is then created when that payment succeeds. This functionality is commonly used to mitigate the need to ensure you have funds available in your Platform account's balance for these transfers.

gentle timber
#

Sounds like a solution to my problem

#

i'm going to try this first

#

and if it fails i'm going to try the support

#

Thanks for your help

devout pilot
#

Happy to help!

#

Let me know if you still want to dig into the webhook delivery issue too.