Element Library

JavaScript

Create a reference to the Open Payment Element JavaScript in the <HEAD> of your <HTML> document. Please note you can directly reference the version you are using, such as op-payment.1.0.0.js which will ensure breaking change updates will not affect your implementation. If you would like to always use the current version, you can also reference op-payment-current.js.

<head>
  
  <!-- Additional header code -->
  <script src="https://elements.openpath.io/open-element.4.0.0.js"></script>

</head>