#Cavalaa

1 messages ยท Page 1 of 1 (latest)

acoustic yarrowBOT
shrewd snow
#

๐Ÿ‘‹ happy to help

#

is this in test mode or in live mode?

dull field
#

live

shrewd snow
dull field
#

the failed requests arent appearing in my logs but I found this req_id in my network f12 menu on my site req_EUiC6gMhA3k0Fc

shrewd snow
dull field
#

I'm trying to create a payout from a connected account to its card

shrewd snow
#

sorry my bad, you're right, I misread the request

#

ok I just took a look there's a pending balance but not an available one on that account

dull field
#

so is that because it's set to do daily payouts?

#

is there any way I can remove that so it all becomes available until manual payouts?

shrewd snow
#

you can set it to manual payout

dull field
#

and can I do that at the point of account creation in backend code, or will I have to set each one manually after?

shrewd snow
#

but in all cases, the pending is not related to the payout schedule but rather to the delay_days

shrewd snow
dull field
#

ok, so I need to change the delay_days variable?

shrewd snow
dull field
#

i've noticed another Issue I'm having

#

I'm making deposits to a connected account but the application fee isnt being sent to my account and is coming up as 0 although there is a fee being taken somewhere before the connected account receives the depost

shrewd snow
#

are you using Direct Charges?

acoustic yarrowBOT
dull field
#

applicationFeeAmount := int64(feePercent / 100 * float64(amount))
// Construct the payment intent for the connected account
params := &stripe.PaymentIntentParams{
Amount: stripe.Int64(amount),
Currency: stripe.String(string(stripe.CurrencyGBP)),
ApplicationFeeAmount: &applicationFeeAmount,
ReceiptEmail: stripe.String(user.Email),
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
Enabled: stripe.Bool(true),
},
TransferData: &stripe.PaymentIntentTransferDataParams{
Destination: stripe.String(connectedAccountID),
},
}

fossil sedge
#

maybe &applicationFeeAmount is null? do you have an example payment ID we can look at?

dull field
#

here py_1NDlgwPJQBYfM23RkIbhUIsk

#

it should be sending through 14.5

fossil sedge
#

it did, from what I see.

dull field
#

yeah but there's nothing arriving in the balance of my main account and the fees are due?

fossil sedge
#

what do you mean by that?

dull field
#

my bad I must just have the fee too low then

#

to cover the stripe fee

fossil sedge
#

yes, you can see from the link and screenshot that the Stripe fee is 30p

dull field
#

With regards to the money becoming available to withdraw, if the account is manual payouts, how long will it take before I should be able withdraw after making a deposit

fossil sedge
dull field
#

yeah but i set the accounts to manual should it make a difference

#

i.e. wouldnt that remove payout delay time

fossil sedge
#

no, it makes it worse actually

#

on that page we say 3 days for example. That means that if you do a payment on Monday, on Thursday it's available, and it's only at that point that you can successfully call the Payouts API to create a manual payout for that amount(and then there is flight time for the bank transfer to happen and arrive)

dull field
#

Ok so what is the way by which I can reduce that to a minimal value

fossil sedge
#

just leave things as the default(automatic daily payouts) unless your use case requires something else