Skip to content

Instantly share code, notes, and snippets.

@matthewarkin
Created January 15, 2016 18:01
Show Gist options
  • Save matthewarkin/77fe623a32f94b07c1c4 to your computer and use it in GitHub Desktop.
Save matthewarkin/77fe623a32f94b07c1c4 to your computer and use it in GitHub Desktop.
<script type="text/javascript" src="https://commencepayments.com/js/commence.js"></script>
<button data-type="CommenceButton"
data-key= "<insert your commence API key>"
data-image="<insert url to your logo>"
data-name="<insert your business name>"
data-description="<description of product you're selling>"
data-amount="<amount to charge customer in cents: eg. 1000 for $10.00>"
data-currency="USD"
data-panelLabel="<Text you want on big button like Pay Now>"
data-billingAddress="true"
data-shiipingAddress="true"
>
Pay With Card
</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment