{"push_id":757652920,"size":1,"distinct_size":1,"ref":"refs/heads/payWithAmazon","head":"752155e0ff4408766bbf827e35d14eb2661f7240","before":"0b458f8f205886f07a3ade462dfe3d3b90b995d0","commits":[{"sha":"752155e0ff4408766bbf827e35d14eb2661f7240","author":{"email":"12bab6975e25806a7df71f5b7310e02822804f66@ejegg.com","name":"Elliott Eggleston"},"message":"Redirect to Amazon for login\n\nAdd data to session immediately, since we're sending them off via\na client-side redirect.  Set all the js vars we need via a\nMakeGlobalVariablesScript hook.  Load the login script from Amazon\nand call amazon.Login.authorize to redirect.\n\nWhen login succeeds, set cookie for use in widgets.  When login\nfails, show error message and display button for donor to try\nagain.  Using 'Pay with Amazon' button to match messaging in\nwidgets.\n\nTODO: make a mock login/widget script to enable browser testing.\n\nBug: T108112\nChange-Id: I31be1f536574ef4cb338666e6138710d08505726","distinct":true,"url":"https://api.github.com/repos/wikimedia/mediawiki-extensions-DonationInterface/commits/752155e0ff4408766bbf827e35d14eb2661f7240"}]}