datatrans / secure-fields-sample

Visually pleasing credit card forms with Datatrans Payment Gateway and PCI Proxy.
https://datatrans.github.io/secure-fields-sample/
MIT License
7 stars 7 forks source link

No npm library? #18

Closed princefishthrower closed 2 years ago

princefishthrower commented 2 years ago

Hi Datatrans team,

It would seem the only way to load this library is over the minified cdn link, is that correct?

Is there a reason this isn't distributed through npm?

Thank you for your time.

Chris

pstadler commented 2 years ago

These are samples on how to integrate secure fields. We're currently not planning on releasing libraries. The only source you should load is https://pay.datatrans.com/upp/payment/js/secure-fields-2.0.0.min.js for production and https://pay.sandbox.datatrans.com/upp/payment/js/secure-fields-2.0.0.min.js for sandbox. Please refer to our docs: https://docs.datatrans.ch/docs/secure-fields