{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/paypal-checkout/issues/416","repository_url":"https://api.github.com/repos/paypal/paypal-checkout","labels_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/416/comments","events_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/416/events","html_url":"https://github.com/paypal/paypal-checkout/issues/416","id":245219115,"number":416,"title":"Paypal Button renders then immediately disappears","user":{"login":"mcstover","id":1862756,"avatar_url":"https://avatars1.githubusercontent.com/u/1862756?v=4","gravatar_id":"","url":"https://api.github.com/users/mcstover","html_url":"https://github.com/mcstover","followers_url":"https://api.github.com/users/mcstover/followers","following_url":"https://api.github.com/users/mcstover/following{/other_user}","gists_url":"https://api.github.com/users/mcstover/gists{/gist_id}","starred_url":"https://api.github.com/users/mcstover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcstover/subscriptions","organizations_url":"https://api.github.com/users/mcstover/orgs","repos_url":"https://api.github.com/users/mcstover/repos","events_url":"https://api.github.com/users/mcstover/events{/privacy}","received_events_url":"https://api.github.com/users/mcstover/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-24T21:47:20Z","updated_at":"2017-07-25T18:23:10Z","closed_at":null,"body":"### Description\r\n\r\nOver the weekend something changed in the operation of the paypal express checkout button on kiva.org's payment page. The button initially renders then quickly disappears.\r\n\r\nWhile attempting to debug this using Chrome's dev tools, I noticed that the instance fell into a \"sacrificialIframe\" state and triggered the \"hideElement\" method. I believe this code was in the drivers.js.\r\n\r\nI could not determine what set this in motion as we had not made any changes to our code over the weekend.\r\n\r\n- [x] https://drive.google.com/file/d/0B-nF0MgqRt4wSHhvWVJPY0Z4MUk/view?usp=sharing\r\n- [x] https://www-kiva-org.global.ssl.fastly.net/rgit2e969457aa8884f7fa081b0de7339ebe19865461/views/Basket/ReviewBasketView.js\r\n- [x] https://www.paypalobjects.com/api/checkout.min.js\r\n- [x] See Notes in Reproduction Section\r\n- [x] No console log messages were reported\r\n- [ ] Does the issue also occur at [developer.paypal.com/demo/checkout](https://developer.paypal.com/demo/checkout)?\r\n\r\n### Steps to reproduce\r\n\r\nVisit Kiva.org\r\nClick \"Lend\" in the top Navigation\r\nSelect any Loans  and click \"Lend $25\" to add it to your Basket\r\nClick \"Proceed to Checkout\" to visit the Basket, then Click Continue\r\nLog In or Register to be sent to the payment page.\r\n* We had to turn off the button to the public, Paste this link in the address bar to trigger usage of the Paypal Express flow ( https://www.kiva.org/basket/payment?kexpn=paypal_express_checkout.checkout_paths&kexpv=b )\r\n\r\n### Affected browsers\r\n\r\n- [x] Chrome\r\n- [x] Safari\r\n- [ ] Firefox\r\n- [ ] Edge\r\n- [ ] IE\r\n- [ ] Chrome Mobile/Tablet\r\n- [ ] Safari Mobile/Tablet\r\n- [ ] Web View / Safari ViewController\r\n- [ ] Other\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/paypal/paypal-checkout/issues/comments/317825698","html_url":"https://github.com/paypal/paypal-checkout/issues/416#issuecomment-317825698","issue_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/416","id":317825698,"user":{"login":"bluepnume","id":1219075,"avatar_url":"https://avatars2.githubusercontent.com/u/1219075?v=4","gravatar_id":"","url":"https://api.github.com/users/bluepnume","html_url":"https://github.com/bluepnume","followers_url":"https://api.github.com/users/bluepnume/followers","following_url":"https://api.github.com/users/bluepnume/following{/other_user}","gists_url":"https://api.github.com/users/bluepnume/gists{/gist_id}","starred_url":"https://api.github.com/users/bluepnume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluepnume/subscriptions","organizations_url":"https://api.github.com/users/bluepnume/orgs","repos_url":"https://api.github.com/users/bluepnume/repos","events_url":"https://api.github.com/users/bluepnume/events{/privacy}","received_events_url":"https://api.github.com/users/bluepnume/received_events","type":"User","site_admin":false},"created_at":"2017-07-25T18:23:10Z","updated_at":"2017-07-25T18:23:10Z","body":"Haha no problem at all! Glad to hear you managed to track it down.\r\n\r\nYou can set a breakpoint on changes to an element like so:\r\n\r\n<img width=\"475\" alt=\"screen shot 2017-07-25 at 2 21 56 pm\" src=\"https://user-images.githubusercontent.com/1219075/28587321-c5dba664-7144-11e7-9754-08aeadb74caa.png\">\r\n"}}
{"actor":{"display_login":"bluepnume"}}