#rickrodrigues

1 messages ยท Page 1 of 1 (latest)

gritty dirgeBOT
uneven laurel
#

Hi there!

#

Can you share the request ID (req_xxx) here?

dreamy yoke
#

Request req_w1grm4Y57Q4VNU

#

So, i need connect in account to ballance. I used plataform API KEY the sandbox

uneven laurel
#

Are you trying to get information from a connected account?

dreamy yoke
#

Let me see

#

Yes but i need use this key during the create the intent?

uneven laurel
#

Can you clarify what you are trying to do? Are you a platform using connect? Are you trying to make a payment on a connected account?

dreamy yoke
#

Sure.

#
  1. My application use woocomerce, i use the woocommerce plugin with custom checkout.
  2. I my checkout the custom is created, the payment method is created, and subscription is created.
#

i need the check ballance the customer using API for backoffice to make analisys the ballance the client.

#

I'm building the painel using python with django to connect in stripe.conection to show the financial details about the customer.

#

to this i'm using:

  1. c = stripe.Customer.retrieve("cus_NeFaE0EFTdLdmg")
    Customer retrive to retrieve the payment Method.
#
  1. pm = stripe.PaymentMethod.retrieve(
    "pm_1Msx5iEoeVk9irVHmb8wjjYD",
    )
    Payment method to retrive de id Account
#

When i tryng retrive in account using the id account i receiver this error:

stripe.financial_connections.Account.retrieve("fca_1Msx5eEoeVk9irVHdLqalQdT")

#

Do you understand?

uneven laurel
#
  1. My application use woocomerce, i use the woocommerce plugin with custom checkout.
    Got it. FYI we know nothing about woocomerce here, but I can try to help on the Stripe side of things.
dreamy yoke
#

Yes

uneven laurel
#
  1. I my checkout the custom is created, the payment method is created, and subscription is created.
    Created where? On your own Stripe account?
dreamy yoke
#

I know

#

just give to you the context abou my application

dreamy yoke
#

I have the customer, i have the payment method all in my stripe account.

civic vale
#

Hello there ๐Ÿ‘‹
Stepping in as soma needs to step away soon

dreamy yoke
#

Helli Hanzo

#

How are you?

civic vale
#

Doing well ๐Ÿ™‚ Looks like there's a ton of context in the thread
Can you give me a super short summary while I catch up?

dreamy yoke
#

Yes, i can't connect with account to get ballance in api stripe.financial_connections.Account.retrieve
I trying use the account ID

#

but return erro to me evertime.

civic vale
#

It looks like the financial account was created directly on the connected account because you used the Stripe-Account header in the request
https://dashboard.stripe.com/test/logs/req_u12HpAj2OBhUhx

However, when retrieving you are not passing the Stripe-account (connected account ID) as the header

#

Oh are you using the connected account API key?

dreamy yoke
#

Where i find the account API key?

#

It is the key the account stripe in dashboard>configuration>private key?

#

or is the key generated in sometime?

civic vale
#

If you're describing woocommerce UI, we won't know anything about it.
On Stripe, it should be under Developers > API keys section

dreamy yoke
#

Yes

#

i used this key

#

stripe.api_key = settings.KEY_STRIPE

#

settings.KEY_STRIPE is the key than i take in the stripe painel

#

Here.

#
stripe.api_key =MY_KEY
fa = stripe.financial_connections.Account.retrieve("fca_1Msx5eEoeVk9irVHdLqalQdT")
#

I try this way, but return the error mencioned above

civic vale
#

It is a permissions issue since the platform created the Financial Connection account so the Connected Account can't refresh the balance or work with the Financial Connection account directly.

You need to work with the platform (woocommerce) to get this info. The error message is misleading and we have already reported this internally & we will improve that.

dreamy yoke
#

I can't use woocommerce to this. I need make the integration with my manager painel. The woocommerce is limited and i used just to make my e-commerce service. I need this data in my control painel. What do i do?