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

Allow setting transfer_group identifier #33

Closed
AugustMiller opened this issue Oct 31, 2018 · 4 comments
Closed

Allow setting transfer_group identifier #33

AugustMiller opened this issue Oct 31, 2018 · 4 comments
Assignees

Comments

@AugustMiller
Copy link
Contributor

AugustMiller commented Oct 31, 2018

We're looking at implementing a kind of merchant system for event ticket sales, and would love to have a way of sending an initial transfer_group param for Charges. Periodically, we're going to make Transfers to event organizers (carts may contain tickets from multiple organizers), and pairing these up will make record keeping much easier—and (in theory) tie them together in the Stripe dashboard.

I appreciate the decision to ignore modifications to the Transaction object when emitting the EVENT_BUILD_GATEWAY_REQUEST, but because this is a core param (and not a metadata candidate), we don't have a way of including this.

Is that something to be accomplished with a custom event? Probably not something to do by default, but emitting EVENT_ASSIGN_TRANSFER_GROUP would be super useful!

…or, maybe there's another way to tap in to the request params, already?

❤️

@AugustMiller
Copy link
Contributor Author

AugustMiller commented Oct 31, 2018

Well, if I'd kept reading, I'd have learned that we might be able to retroactively group these, when creating Transfers in Stripe… I'll continue to investigate. ✌️

@andris-sevcenko andris-sevcenko self-assigned this Oct 31, 2018
@andris-sevcenko
Copy link
Contributor

What's your timeline for this?

@AugustMiller
Copy link
Contributor Author

AugustMiller commented Oct 31, 2018

Nothing urgent. Still in the proposal phase for the project, and doing some research! If we find ourselves at an impasse, I'm happy to issue a PR—I imagine this is a pretty infrequent use-case, and it may already be handled by the Transfer API.

Will @ you if I find out anything actionable! 😄

@andris-sevcenko
Copy link
Contributor

The EVENT_BUILD_GATEWAY_REQUEST event allows for setting arbitrary parameters as of 04a1cdf

Sorry for the delayed notification :(

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

2 participants