Skip to content

Instantly share code, notes, and snippets.

@javikin
Created April 1, 2019 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javikin/e863d4a6965bf9b83eec1f3b3421da50 to your computer and use it in GitHub Desktop.
Save javikin/e863d4a6965bf9b83eec1f3b3421da50 to your computer and use it in GitHub Desktop.
<html>
<head>
<script>
var userDefinedCallback = function(response){
alert("User defined callback: "+response.message);
};
!function(w,d,s,id,r){
w[r]={};
w[r]=w[r]||function(){w[r].q=w[r].q||[].push(arguments)};
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;
js.src=p+"://www.paybook.com/sync/widget.js";
fjs.parentNode.insertBefore(js,fjs);
}
}(window,document,"script","sync-widget","syncWidget");
syncWidget.options = {token:"****", baseDiv: "sync_container", theme: "ligth", start: "admin"};
</script>
</head>
<div id="sync_container"></div>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment