Skip to content

Instantly share code, notes, and snippets.

@bluepnume
Last active August 21, 2017 23:18
Show Gist options
  • Save bluepnume/4087eb8f19bd67c6dfeba313b28bd7e2 to your computer and use it in GitHub Desktop.
Save bluepnume/4087eb8f19bd67c6dfeba313b28bd7e2 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script src="https://www.paypalobjects.com/api/checkout.js"></script>
<style>
#paypal-button-container {
width: 100px;
}
</style>
</head>
<body>
<div id="paypal-button-container"></div>
<script>
paypal.Button.render({
style: {
label: 'generic',
color: 'silver',
size: 'responsive',
tagline: false
},
payment: function(data, actions) {
},
onAuthorize: function(data, actions) {
}
}, '#paypal-button-container');
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment