Created
May 14, 2013 05:52
-
-
Save valachi/5573977 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function(){ | |
$('#buy-automated').click(function(){ | |
var token = function(res){ | |
console.log('Got token ID:', res.id); | |
}; | |
StripeCheckout.open({ | |
key: 'pk_Y9MZnemHi4X5Anj423q4m79gfaDqP', | |
address: true, | |
amount: 99000, | |
name: '409A Automated', | |
description: '409A ', | |
panelLabel: 'Checkout', | |
token: token | |
}); | |
return false; | |
}); | |
$('#buy-startup').click(function(){ | |
var token = function(res){ | |
console.log('Got token ID:', res.id); | |
}; | |
StripeCheckout.open({ | |
key: 'pk_Y9MZnemHi4X5Anj423q4m79gfaDqP', | |
address: true, | |
amount: 199000, | |
name: '409A Startup', | |
description: '409A ', | |
panelLabel: 'Checkout', | |
token: token | |
}); | |
return false; | |
}); | |
$('#buy-regular').click(function(){ | |
var token = function(res){ | |
console.log('Got token ID:', res.id); | |
}; | |
StripeCheckout.open({ | |
key: 'pk_KxNs1bx828aFzr5TexzKPIWYg35a8', | |
address: true, | |
amount: 299000, | |
name: '409A Regular', | |
description: '409A ', | |
panelLabel: 'Checkout', | |
token: token | |
}); | |
return false; | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment