{"action":"created","issue":{"url":"https://api.github.com/repos/iamraphson/react-paystack/issues/10","repository_url":"https://api.github.com/repos/iamraphson/react-paystack","labels_url":"https://api.github.com/repos/iamraphson/react-paystack/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/iamraphson/react-paystack/issues/10/comments","events_url":"https://api.github.com/repos/iamraphson/react-paystack/issues/10/events","html_url":"https://github.com/iamraphson/react-paystack/issues/10","id":372348729,"node_id":"MDU6SXNzdWUzNzIzNDg3Mjk=","number":10,"title":"Issue regarding using paystack in react js","user":{"login":"anishghosh103","id":30773994,"node_id":"MDQ6VXNlcjMwNzczOTk0","avatar_url":"https://avatars0.githubusercontent.com/u/30773994?v=4","gravatar_id":"","url":"https://api.github.com/users/anishghosh103","html_url":"https://github.com/anishghosh103","followers_url":"https://api.github.com/users/anishghosh103/followers","following_url":"https://api.github.com/users/anishghosh103/following{/other_user}","gists_url":"https://api.github.com/users/anishghosh103/gists{/gist_id}","starred_url":"https://api.github.com/users/anishghosh103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishghosh103/subscriptions","organizations_url":"https://api.github.com/users/anishghosh103/orgs","repos_url":"https://api.github.com/users/anishghosh103/repos","events_url":"https://api.github.com/users/anishghosh103/events{/privacy}","received_events_url":"https://api.github.com/users/anishghosh103/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-10-21T19:33:29Z","updated_at":"2018-11-16T19:22:44Z","closed_at":null,"author_association":"NONE","body":"We are using react-paystack package in our react application,however it's working fine for the first time of the payment.But when we want to trigger the payment api through paystack button for the second time the popup is not coming and getting following error.\r\n\r\ninline.js:1 Uncaught TypeError: Cannot read property 'style' of null\r\n    at Inline.resetMainIframe (inline.js:1)\r\n    at Inline.resetNewCheckout (inline.js:1)\r\n    at Inline.setTransaction (inline.js:1)\r\n    at Object.setup (inline.js:1)\r\n    at PayStack._this.payWithPaystack (paystack.min.js:56)\r\n    at HTMLUnknownElement.callCallback (react-dom.development.js:100)\r\n    at Object.invokeGuardedCallbackDev (react-dom.development.js:138)\r\n    at Object.invokeGuardedCallback (react-dom.development.js:187)\r\n    at Object.invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:201)\r\n    at executeDispatch (react-dom.development.js:461)\r\n    at executeDispatchesInOrder (react-dom.development.js:480)\r\n    at executeDispatchesAndRelease (react-dom.development.js:581)\r\n    at executeDispatchesAndReleaseTopLevel (react-dom.development.js:592)\r\n    at forEachAccumulated (react-dom.development.js:562)\r\n    at runEventsInBatch (react-dom.development.js:723)\r\n    at runExtractedEventsInBatch (react-dom.development.js:732)\r\n    at handleTopLevel (react-dom.development.js:4476)\r\n    at batchedUpdates$1 (react-dom.development.js:16659)\r\n    at batchedUpdates (react-dom.development.js:2131)\r\n    at dispatchEvent (react-dom.development.js:4555)\r\n    at interactiveUpdates$1 (react-dom.development.js:16714)\r\n    at interactiveUpdates (react-dom.development.js:2150)\r\n    at dispatchInteractiveEvent (react-dom.development.js:4532)\r\n\r\n  We have also checked that if we reload the page after first payment done then second time(After reloading window) its working.So each time after payment completion we need to reload our project which is not the correct way.So please let me know what to do?"},"comment":{"url":"https://api.github.com/repos/iamraphson/react-paystack/issues/comments/439499278","html_url":"https://github.com/iamraphson/react-paystack/issues/10#issuecomment-439499278","issue_url":"https://api.github.com/repos/iamraphson/react-paystack/issues/10","id":439499278,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTQ5OTI3OA==","user":{"login":"anishghosh103","id":30773994,"node_id":"MDQ6VXNlcjMwNzczOTk0","avatar_url":"https://avatars0.githubusercontent.com/u/30773994?v=4","gravatar_id":"","url":"https://api.github.com/users/anishghosh103","html_url":"https://github.com/anishghosh103","followers_url":"https://api.github.com/users/anishghosh103/followers","following_url":"https://api.github.com/users/anishghosh103/following{/other_user}","gists_url":"https://api.github.com/users/anishghosh103/gists{/gist_id}","starred_url":"https://api.github.com/users/anishghosh103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishghosh103/subscriptions","organizations_url":"https://api.github.com/users/anishghosh103/orgs","repos_url":"https://api.github.com/users/anishghosh103/repos","events_url":"https://api.github.com/users/anishghosh103/events{/privacy}","received_events_url":"https://api.github.com/users/anishghosh103/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T19:22:44Z","updated_at":"2018-11-16T19:22:44Z","author_association":"NONE","body":"@iamraphson @steveamaza Is this resolved only for react ? Cause we are also using angular version of its.So let us know."}}
{"actor":{"display_login":"anishghosh103"}}