Skip to main content

3. Include JavaScript

When the payment session is initialized on the server-side the Epay javascript must be included on the client side. The JavaScript client source can be found in the javascript field of the start session response. This can be done by adding the following line of code inside the <head></head> tag of the website displaying the hosted fields.

<script
type="module"
src="https://payments.epay.eu/sessions/0192473a-e382-79a9-bfc2-65da88fe812f/client.js"
></script>