#alcapone87

1 messages · Page 1 of 1 (latest)

somber pathBOT
slow dove
grave rain
#

req_T0w5sLDH83IQRD

#

if i automaticcaly on board client the account is going to be created as CUSTOM but with FULL SERVICE AGREEMENT

#

support said that doesn't know how to do it. I manually created an account from the dashboard +create and I was able to do it. so something is missing in my API probably

#

if I tried to : When we put in 'tos_acceptance' => ['service_agreement' => 'recipient'] and 'transfers' => [ 'requested' => true ] like below:

$account = hivepress()->payout->stripe()->accounts->create(
apply_filters(
'hivepress/v1/components/stripe/create_account',
[
'type' => 'custom',
'country' => $vendor->get_country(),
'email' => $vendor->get_user__email(),
'default_currency' => get_woocommerce_currency(),

'capabilities' => [
'transfers' => [ 'requested' => true ],
],

'tos_acceptance' => ['service_agreement' => 'recipient'],

'business_profile' => [
'name' => $vendor->get_name(),
'url' => hivepress()->router->get_url( 'vendor_view_page', [ 'vendor_id' => $vendor->get_id() ] ),
],
]
)
);

We get the following error:

slow dove
grave rain
#

let me check sorry

#

req_UEu3dKzUVerzt9

#

should be that one

#

sorry too many attempts

#

req_UEu3dKzUVerzt9
req_C1Lha9WHozw9Ky

#

yes those two

zinc raven
#

Yes hi everyone ty for invite alcapone

#

Let us know if you need more details @slow dove

slow dove
#

thanks for sharing, let me check please

#

It looks like you are missing the transfer 'capabilities' => ['transfers' => ['requested' => true]],

zinc raven
#

Oh! Let me try that quick

#

We have 'capabilities' => [
'transfers' => [ 'requested' => true ],
],

#

check the above code we posted

grave rain
#

@slow dove we just made a new one so the request log is this one req_F3Nqu5uWW2RkkR

#

maybe was my fault before i gave u the wrong long as we made different request

slow dove
zinc raven
#

Oh how can we do that?

#

so all receiving addresses should have USD and Stripe handles the conversion for us?

slow dove
#

In the request you need to change default_currency:EUR in the request or country:USD

zinc raven
#

What if we put default_currency:USD

#

our main platform account is in the US and a US bank account

#

but it is possible for people to purchase listing from recipients in Italy with an Italian bank account

grave rain
#

when a customer is onboarding they can decide what currency they want. In fact, if I manually do it an account creation from Stripe Dashboard payment works correctly also if we have a US account with $ as currency and the final account has € due is in europe.

zinc raven
#

default_currency:EUR seems more specific to payments not the actual onboarding of a new customer

slow dove
grave rain
#

we are open to onboard 23 different countries how we can set a default value?

slow dove
zinc raven
#

what is the PHP for that? let me try

#

ok we are trying again

#

I see we get it from woocommerce

#

hang on please while we test

slow dove
grave rain
#

ok let me try

grave rain
zinc raven
#

YAHOO IT WORKS!

#

Great job @slow dove !