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

Make Stripe marketplace methods more idiomatic #18

Closed
ghidinelli opened this issue Apr 18, 2015 · 1 comment
Closed

Make Stripe marketplace methods more idiomatic #18

ghidinelli opened this issue Apr 18, 2015 · 1 comment

Comments

@ghidinelli
Copy link
Owner

Review of marketplace appears to have multiple highly-overlapping methods where just the arguments change:

purchase()
charge()
marketplaceDirectCharge()
marketplaceDestinationCharge()

The behavior, depending on the parameters, is quite different but this more clearly matches the Stripe API too so collapsing them into the cfpayment-standard methods makes sense.

@ghidinelli
Copy link
Owner Author

All marketplace functions take an "amount" argument which should be "money".

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

1 participant