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

Suggestion for extension of JSON protocol. #13

Open
zhoujianfu opened this issue Jun 15, 2018 · 7 comments
Open

Suggestion for extension of JSON protocol. #13

zhoujianfu opened this issue Jun 15, 2018 · 7 comments

Comments

@zhoujianfu
Copy link

I think we could bring the bitcoin/bitcoin cash checkout experience up to paypal-levels of ease of use with one simple extension to this protocol.

Allow the merchant to specify in the Payment Request other metadata they would like from the user.

For example:

{{name}}, {{email}}, {{shipping_address}} (possibly broken into street, street2, city, state, postal_code, country), {{phone}}, {{photo_url}}, maybe even {{twitter_username}}, {{facebook_username}} or {{youtube_username}}.

Wallets implementing this could ask for (and then save) this information from the user, and then the next time they check out have it already pre-filled (with the option to edit). It would just be like:

Bitpay is requesting .01 BCH for "EFF Donation", they also are requesting your:

email: [[email protected]]
phone: [+1-234-567-8900]

[Make Payment!]

(Kind of like logging in with facebook and it says "this app would like to see your email and list of friends.")

If this extension is added, we've basically made it possible for shopping with crypto online AND in retail stores as easy as Amazon's one-click checkout.

@zhoujianfu
Copy link
Author

@chaintip 30 days

@shibe2
Copy link

shibe2 commented Jun 20, 2018

  1. What should happen if the wallet does not support the extension?
  2. This will encourage sellers to collect more information than they actually need. Public discussion needed.

@zhoujianfu
Copy link
Author

zhoujianfu commented Jun 20, 2018 via email

@shibe2
Copy link

shibe2 commented Jun 20, 2018

  1. I think, it's always better to resolve all the important details of the deal before making the payment. And the amount may depend on the shipping address, for example. Better make this a separate request, and then make the actual payment request with all the details known and optionally signed by the merchant.
  2. Typical business does want more data. Many countries do not have effective privacy-protecting regulations. Where there are regulations, ways around will be found and exploited. By adding data collection capabilities to the protocol we make it less inconvenient and suspicious for customers, so merchants will be more inclined to go for it.

@zhoujianfu
Copy link
Author

zhoujianfu commented Jun 20, 2018 via email

@chaintip
Copy link

0 BCH| ~ 0.00 USD has now been tipped to this issue.
To claim this bounty, get a pull request merged with @chaintip fixes #13 in the creation comment.

@monsterbitar
Copy link

I agree with this statement:

"I think, it's always better to resolve all the important details of the deal before making the payment. And the amount may depend on the shipping address, for example."

One way to accomplish this with the level of ease suggested here, is to allow users sign up and/or login with CashID: https://gitlab.com/cashid/protocol-specification

Then, if their wallet supports both CashID and JsonPaymentProtocol, the process should be close to the level of smoothness desired.

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

4 participants