{"action":"created","issue":{"url":"https://api.github.com/repos/braintree/braintree-web/issues/15","labels_url":"https://api.github.com/repos/braintree/braintree-web/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/braintree/braintree-web/issues/15/comments","events_url":"https://api.github.com/repos/braintree/braintree-web/issues/15/events","html_url":"https://github.com/braintree/braintree-web/issues/15","id":54525013,"number":15,"title":"Allow access to some card information prior to using the nonce","user":{"login":"pdg137","id":466760,"avatar_url":"https://avatars.githubusercontent.com/u/466760?v=3","gravatar_id":"","url":"https://api.github.com/users/pdg137","html_url":"https://github.com/pdg137","followers_url":"https://api.github.com/users/pdg137/followers","following_url":"https://api.github.com/users/pdg137/following{/other_user}","gists_url":"https://api.github.com/users/pdg137/gists{/gist_id}","starred_url":"https://api.github.com/users/pdg137/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdg137/subscriptions","organizations_url":"https://api.github.com/users/pdg137/orgs","repos_url":"https://api.github.com/users/pdg137/repos","events_url":"https://api.github.com/users/pdg137/events{/privacy}","received_events_url":"https://api.github.com/users/pdg137/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/braintree/braintree-web/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-16T00:27:00Z","updated_at":"2015-02-20T01:03:58Z","closed_at":"2015-02-20T01:03:58Z","body":"Many checkout systems show a preview page with a summary of what is about to happen, like \"$44 will be charged to your Visa ending in 1234\".  That's not possible with the Drop-In UI, since the only thing we have access to at preview time is a nonce, and (if you care about the CVV) the nonce can only be used to create a transaction.\r\n\r\nSo, here is a simple feature request: the Drop-In UI should submit the credit card type and last four digits in some additional parameters to our form, along with the nonce.  Presumably something similar would apply to PayPal transactions."},"comment":{"url":"https://api.github.com/repos/braintree/braintree-web/issues/comments/75172141","html_url":"https://github.com/braintree/braintree-web/issues/15#issuecomment-75172141","issue_url":"https://api.github.com/repos/braintree/braintree-web/issues/15","id":75172141,"user":{"login":"jeffcarp","id":916028,"avatar_url":"https://avatars.githubusercontent.com/u/916028?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffcarp","html_url":"https://github.com/jeffcarp","followers_url":"https://api.github.com/users/jeffcarp/followers","following_url":"https://api.github.com/users/jeffcarp/following{/other_user}","gists_url":"https://api.github.com/users/jeffcarp/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffcarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffcarp/subscriptions","organizations_url":"https://api.github.com/users/jeffcarp/orgs","repos_url":"https://api.github.com/users/jeffcarp/repos","events_url":"https://api.github.com/users/jeffcarp/events{/privacy}","received_events_url":"https://api.github.com/users/jeffcarp/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T01:03:58Z","updated_at":"2015-02-20T01:03:58Z","body":"Closing - let me know if you have any other questions :smile: "}}