Hi Guys...
I want to use heartland payment gateway in my Angular 2+ application...
I installed that heartland-nodejs <https://github.com/hps/heartland-nodejs> NPM
module in my Angular 2+ app...
When i Import that heartland module...
> var heartland = require("heartland-nodejs");
>
it Shows some errors....
> Uncaught TypeError: exists is not a function
>
> at Function.getRoot
>> (webpack-internal:///../../../../bindings/bindings.js:158)
>
> at bindings (webpack-internal:///../../../../bindings/bindings.js:60)
>
> at eval
>> (webpack-internal:///../../../../node-expat/lib/node-expat.js:4)
>
> at Object.../../../../node-expat/lib/node-expat.js
>> (vendor.bundle.js:1107)
>
> at __webpack_require__ (inline.bundle.js:55)
>
> at Object.eval
>> (webpack-internal:///../../../../heartland-nodejs/lib/soap/wsdl.js:8)
>
> at eval
>> (webpack-internal:///../../../../heartland-nodejs/lib/soap/wsdl.js:1004)
>
> at Object.../../../../heartland-nodejs/lib/soap/wsdl.js
>> (vendor.bundle.js:895)
>
> at __webpack_require__ (inline.bundle.js:55)
>
> at Object.eval
>> (webpack-internal:///../../../../heartland-nodejs/lib/soap/index.js:11)
>
> Plz help me to solve this....
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.