Rebilly Instruments is in active development and should be treated as beta software. This means it may contain bugs and instability.
Install Rebilly Instruments with this Quickstart command to add Rebilly instruments to your existing project:
- Use yarn to install (recommended). Install yarn with these docs.
yarn add @rebilly/instruments
or
- Use npm/npx to install Rebilly Instruments.
npx install @rebilly/instruments
Enjoy 🎉
<div class="rebilly-instruments-summary"></div>
<div class="rebilly-instruments"></div>
<script type="text/javascript">
import RebillyInstruments from '@rebilly/instruments';
RebillyInstruments.mount({
publishableKey: 'pk_sandbox_123',
organizationId: 'org-123',
websiteId: 'my-website-id',
items: [
{
planId: 'my-plan-id',
quantity: 1
},
]
// ...see documentation below for more options
});
</script>
See documentation at Rebilly developer docs