ashinzekene / angular4-paystack

💵 An angular2+ module for paystack transactions
https://ashinzekene.github.io/angular4-paystack/
MIT License
59 stars 37 forks source link

Unable to perform multiple transactions in a single page when using angular4-paystack-embed option #13

Closed Akinduko closed 5 years ago

Akinduko commented 5 years ago

core.js:15723 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'postMessage' of null TypeError: Cannot read property 'postMessage' of null at Inline.updateIframe (inline.js:1) at Inline.resetMainIframe (inline.js:1) at Inline.resetNewCheckout (inline.js:1) at Inline.setTransaction (inline.js:1) at Object.setup (inline.js:1) at Angular4PaystackDirective.push../node_modules/angular4-paystack/fesm5/angular4-paystack.js.Angular4PaystackDirective.pay (angular4-paystack.js:199) at Angular4PaystackDirective. (angular4-paystack.js:297) at step (tslib.es6.js:97) at Object.next (tslib.es6.js:78) at fulfilled (tslib.es6.js:68) at resolvePromise (zone.js:831) at zone.js:741 at fulfilled (tslib.es6.js:68) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391) at Object.onInvoke (core.js:17298) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:390) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:150) at zone.js:889 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423) at Object.onInvokeTask (core.js:17289)

ashinzekene commented 5 years ago

Sorry for replying late. It is a paystack issue

ashinzekene commented 5 years ago

The embed option is not deprecated. Please use the paystack component or directive