Links

CheckoutEmbed

The "checkout Widget" is your basic widget that you can embed anywhere on your webpage
Basic Syntax below :
window.EMBR.mount({
type: 'CheckoutEmbed',
options: {
checkoutId: '01G5XJ86XCD16HBRFC6BQ1Y6SH',
selector: '#checkout'
}
})
For this type of checkout we need to set it to type : 'CheckoutEmbed'
checkoutId: '01G5XJ86XCD16HBRFC6BQ1Y6SH',
//This is the mandatory API key, generated in the Admin Dashboard
//It holds all the various configuration options
selector: '#checkout'
//Query selector to be used in the HTML code
In the <body> of your HTML code add an ID or class with the value specified in selector or checkout if none specified. <div id="checkout"></div>