Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture Stripe Connect Direct Charges #2765

Closed
spencern opened this issue Aug 30, 2017 · 3 comments
Closed

Capture Stripe Connect Direct Charges #2765

spencern opened this issue Aug 30, 2017 · 3 comments
Assignees

Comments

@spencern
Copy link
Contributor

The Stripe Connect implementation is currently incomplete.

The stripe/payment/createCharges method is capable of creating direct charges on behalf of another stripe account, but the our stripe capture method does not currently support capturing direct charges.

This ticket is for updating that capture payment method to support capturing payment for charges created by Stripe Connect on behalf of another stripe account (e.g. for a marketplace merchant).

I'm not 100% certain why this doesn't work as is, but my guess would be that we need to pass the merchant stripe_account into the charges/:id/capture call.

I think this is a good time to update the existing Stripe capture method to use the node-stripe lib as well and you should be able to follow the patterns set in the stripe/payment/createCharges method to figure that part out.

Resources and other notes

@spencern
Copy link
Contributor Author

spencern commented Oct 3, 2017

Resolved by #2912

@spencern spencern closed this as completed Oct 3, 2017
@smknstd
Copy link

smknstd commented Nov 20, 2018

@spencern Do you remember how capturing "on the behalf of another stripe account" works ? Cannot find anything documented here https://stripe.com/docs/api/charges/capture Thanx

@smknstd
Copy link

smknstd commented Nov 22, 2018

Solved! If it can help anyone, you can use the "Stripe-Account header" technique with every api calls https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header (doc is somehow hard to find)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants