-
Notifications
You must be signed in to change notification settings - Fork 135
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
Combine API parameters into a single request object + options #15
Comments
In the TAG review @triblondon said:
|
I agree strongly with @triblondon wrt. merging arguments into a single object. I was going to submit a PR to do just that after FPWD was out, especially since it would be nice if the messages looked the same in the Web Payments HTTP API and the Browser API. You can't easily split arguments out in an HTTP call unless you put some stuff in as URL parameters and the rest in the body. The Web Payments Community Group specs used the single object pattern so that Web Payments messages could be shared between the Browser API and the HTTP API. |
+1 to having a single object. |
@sideshowbarker said:
|
I'd like the inputs to be split between 2 parameters because some are part of the payment request that goes to the app and others are explicitly intended to only be consumed by the browser (such as Since the line item stuff in PROPOSAL
|
I do not support merging these arguments. My reasoning is described in response to PR #133. |
Partially addressed by PR #162. Is there a desire to still split the contents of |
We're planning on submitting a PR for this, premature to close the issue. |
The issue was stale. |
This issue comes from WICG/paymentrequest#41.
There is an open issue about whether
supportedMethods
,details
, anddata
should be combined into a single object.The text was updated successfully, but these errors were encountered: