Javascript SDK
PayU provides the JS SDK with the browser-side JavaScript library. This library contains methods and objects that can help you integrate some of the solutions offered by the PayU, e.g. Secure Form, Uploading Files, Regulations Acceptance.
Loading JS SDK
You should always load the JS SDK from the PayU server. You mustn't load it from your own server and then attach it to the package that is being built at the moment.
- Production
- Sandbox
<script
type="text/javascript"
src="https://secure.payu.com/javascript/sdk"
></script>
<script
type="text/javascript"
src="https://secure.snd.payu.com/javascript/sdk"
></script>
Topics in this Section
Uploading Files
The methods in this section allow to upload files neccessary in the submerchant registration process.
Accepting Regulations
The methods in this section enable you to generate a checkbox for accepting regulations and provide a link to the regulations document.