Professional Documents
Culture Documents
Getting Started
Include the following script at the end of the body section on every page on your site. That script should always be loaded directly from
the kueskipay cdn (https://cdn.kueskipay.com).
<script id="kpay-advertising-script"
src="https://cdn.kueskipay.com/widgets.js?
authorization=123456789&sandbox=true&integration=shopify&version=v1.0">
</script>
To add a new widget in the page include the following html snippet with some attributes.
data-kpay-widget-amount Is the amount of the product multiplied by 100 to generate an amount without decimals. example
25.25 * 100 equals to: 2525.
Note: This attribute is optional.
data-kpay-widget-type Type of widget to be rendered in the page location.
Default: Product
Note: This attribute is optional.
data-kpay-widget-product-name Name of the product
Note: This attribute is optional.
<kueskipay-widget
data-kpay-widget-amount="25025"
data-kpay-widget-type="product"
data-kpay-widget-product-name="Bolsa color verde">
</kueskipay-widget>
Attribute
data-kpay-widget-logo-color Change logo color (black, white) only apply if logo display is image
data-kpay-widget-link-emphasis Change link font weight (normal, bold, bolder) default: bold