I have two pages page1 and page2, after making payment on the first one and I go to the next page2 I got this error and the paymentCompleted function wasn't called
<button
angular-Monnify
[monnifyOptions]="options"
(paymentInit)="paymentInit()"
(close)="paymentCancel()"
(onComplete)="paymentCompleted($event)"
>
Pay with Monnify
</button>
By the way, I'm using it with Ionic and I wasn't able to install it so I had to download the code locally.
core.mjs:10132 ERROR DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at https://sdk.monnify.com/plugin/monnify.js:1:8863
at _ZoneDelegate.invokeTask (http://localhost:8100/polyfills.js:8216:171)
at http://localhost:8100/vendor.js:55319:49
at AsyncStackTaggingZoneSpec.onInvokeTask (http://localhost:8100/vendor.js:55319:30)
at _ZoneDelegate.invokeTask (http://localhost:8100/polyfills.js:8216:54)
at Object.onInvokeTask (http://localhost:8100/vendor.js:55621:25)
at _ZoneDelegate.invokeTask (http://localhost:8100/polyfills.js:8216:54)
at Zone.runTask (http://localhost:8100/polyfills.js:8018:37)
at ZoneTask.invokeTask [as invoke] (http://localhost:8100/polyfills.js:8293:26)
at invokeTask (http://localhost:8100/polyfills.js:9419:12)
I have two pages page1 and page2, after making payment on the first one and I go to the next page2 I got this error and the paymentCompleted function wasn't called
By the way, I'm using it with Ionic and I wasn't able to install it so I had to download the code locally.