#jsanzloz

1 messages ยท Page 1 of 1 (latest)

gritty blazeBOT
vast wigeon
#

hi there!

#

it's possible if you use Direct Charges

lime leaf
#

Working with Stripe Connect, trying to show Payments only in the Connected account, and not in the Platform account. Details in thread.

Trying to only show the Payment record in the connected account, and not in the Platform account. In the Platform account I'd expect only to see the application_fee_amount.

The logic behind this reasoning is: if the connected account is the one that is going to have their own details in the final invoice, I should not have a record of the Payment/Charge in the plaftorm account.

Via Postman, I think I got this right, hitting the {{baseUrl}}/v1/payment_intents endpoint and passing, and I can see the Payment in the connected account https://ibb.co/nr4chrX , no payment at all in the platform account, but only the collected fee https://ibb.co/nr4chrX

amount
currency
application_fee_amount
confirm
payment_method

and as header Stripe-Account acct_1Ob...

However, when I try to do it in my app, I'm blocked. Working with ruby on rails, part of the method that handles the checkout is what I list below. I call this using the platform account API keys. The error I get https://ibb.co/82jfNzT and there is a Payment record (incomplete status, as expected) created within the connected account.

Image Screenshot-2024-01-24-at-13-04-29 hosted in ImgBB

Image Screenshot-2024-01-24-at-13-11-03 hosted in ImgBB

vast wigeon
#

However, when I try to do it in my app, I'm blocked. Working with ruby on rails, part of the method that handles the checkout is what I list below. I call this using the platform account API keys. The error I get https://ibb.co/82jfNzT and there is a Payment record (incomplete status, as expected) created within the connected account.
Can you share the Checkout Session ID (cs_xxx)?

lime leaf
#

cs_test_b1tg3y9hHp3c5jxK6WBIZVGZfju6lWbjq6UCD33OKxQxqZjnAnmrcnWGEs

vast wigeon
#

when I acess that Checkout Session url, it just works

#

so what's the issue?

lime leaf
vast wigeon
#

what do you mean? does the URL I shared above work or not?

lime leaf
#

the one you shared works

vast wigeon
#

the URL I shared is simply the url property of the Checkout Session cs_test_b1tg3y9hHp3c5jxK6WBIZVGZfju6lWbjq6UCD33OKxQxqZjnAnmrcnWGEs

#

so looks like you are not correctly retrieving the url property

lime leaf
#

๐Ÿค” I'm going to investigate, thanks for the lead