#Sharvari96

1 messages · Page 1 of 1 (latest)

loud spearBOT
crisp creek
#

Hi! Let me help you with this.

prisma tinsel
#

but I want the balance to come to platform account not the connect account. Would that happen if I use the Stripe-Account header?

#

or is there a way to remove the payment method from the connected account?

#

@crisp creek

crisp creek
#

No, with Stripe-Account header you control the Connected Account. You will need to collect the Payment Method again on your Platform.

prisma tinsel
#

"You will need to collect the Payment Method again on your Platform." - how to do that?

crisp creek
#

How did you obtain this PM?

prisma tinsel
#

Ok, I had not changed the public key on client side. But I am facing a different issue now.

  1. Payment confirmation API is giving an error althought payment is succeed in the dashboard-
    code: "payment_intent_unexpected_state"
    message: "You cannot confirm this PaymentIntent because it has already succeeded after being previously confirmed."
  2. Current Balance is still 0 - the amount has ended up in future payouts.
    I used these test cards so that balance is immediately reflected, but that's not happening - https://stripe.com/docs/testing#available-balance

@crisp creek

crisp creek
prisma tinsel
crisp creek
#
  1. You used confirm: "True" and an existing Payment Method when creating a PaymentIntent, so it was instantly successful. You don't need to and can't confirm it again.
#
  1. That's a Payment Method.
#
  1. Could you please give me the PaymentIntent ID pi_xxx?
prisma tinsel
#
  1. pi_3NJDzZLbsWAvIKo92zndmaSu - sorry for that
crisp creek
prisma tinsel
crisp creek
#

But did the payment result in the error?

prisma tinsel
#

payment was successful, but not reflected in the balance immediately, payment confirmation API gave an error

loud spearBOT
crisp creek
#

Did you use the test card in the Payment Element? Or is it the one you provided in the payment_method when creating the PaymentIntent?

prisma tinsel
#

did this -

const { error, paymentMethod } = await stripe.createPaymentMethod({ type: 'card', card: cardElement, });

#

on client side, got the paymenth method id and then created a payment intent on the server side - does that answer the question?

crisp creek
#

Why were you trying to confirm it again in req_tZCoBtCGMiLF0s? I am a bit confused.

prisma tinsel
#

oh - did that cause the issue?

#

will try again without confirmation..

#

I removed the payment confirmation API call. Still same issue - payment successfull but not appearing in Balance but appearing as part of future payouts. - req_CLyDWr3Uzetn6n, pm_1NJEh4LbsWAvIKo9phwAJace, pi_3NJEh5LbsWAvIKo91MLPp9MJ
Account where I want the balance to reflect - acct_1NCw29LbsWAvIKo9

One more issue -

  1. Platform Account Country - US, Express Connect Account Country - INDIA
  2. Trying to make a desination charge to the connect account
    - "message": "Stripe doesn't currently support destination charges with accounts in IN."
    - details - pi_3NJEf5LbsWAvIKo91oouSb9s, req_6gXjs0poGckrFI, pm_1NJEf4LbsWAvIKo9TAxeTo3v
    Then how to give out funds to the connect account?
twilit moss
#

👋 taking over for my colleague. Let me catch up.

prisma tinsel
#

have edited the last message with relevant details

twilit moss
#

I removed the payment confirmation API call. Still same issue - payment successfull but not appearing in Balance but appearing as part of future payouts. - req_CLyDWr3Uzetn6n, pm_1NJEh4LbsWAvIKo9phwAJace, pi_3NJEh5LbsWAvIKo91MLPp9MJ
Account where I want the balance to reflect - acct_1NCw29LbsWAvIKo9
this is normal, the balance consists of Available and Pending balances

prisma tinsel
#

which I did - but available balance is 0

twilit moss
#

let me double check

prisma tinsel
#

I am so sorry I got confused by the UI. But when I checked via API - balance = stripe.Balance.retrieve() I got available balance.
However in UI - all of it is been shown as estimated future payouts...

twilit moss
#

yes on the dashboard it's a bit different

#

the way we display it

prisma tinsel
#

Ok

#

Can you look into the second issue instead - destination charges?

Platform Account Country - US, Express Connect Account Country - INDIA
Trying to make a desination charge to the connect account
"message": "Stripe doesn't currently support destination charges with accounts in IN."
details - pi_3NJEf5LbsWAvIKo91oouSb9s, req_6gXjs0poGckrFI, pm_1NJEf4LbsWAvIKo9TAxeTo3v
Then how to give out funds to the connect account?

#

@twilit moss

twilit moss
#

you need to create Direct Charges

prisma tinsel
#

tried this -

payment = stripe.PaymentIntent.create(
amount=1000,
currency="usd",
automatic_payment_methods={"enabled": True},
stripe_account='acct_1NJDOPPxtJyeJZXO',
)

status says - requires_payment_method, pi_3NJFLZPxtJyeJZXO1qhaaMot

#

@twilit moss

#

card payment method is turned on on connect account and platform account

twilit moss
#

it's normal for the status to be requires_payment_method

#

because you haven't collected a PM yet