sling-web-business-merchant-contacts

Merchant Contacts business component

Usage no npm install needed!

<script type="module">
  import slingWebBusinessMerchantContacts from 'https://cdn.skypack.dev/sling-web-business-merchant-contacts';
</script>

README

Sling Merchant Contacts Business Component.

This component renders a card element with the merchant contacts within. It uses table basic component as content wrapper.

Usage

This is how you set the component into the project html structure

    <!--root project index file -->
    <sling-sdk-connect></sling-sdk-connect>

    <!-- component wrapper page location -->
    <sling-merchant-contacts
        stonecode=""
        apitoken="">
    </sling-merchant-contacts>

The stonecode and apitoken atributes are mandatory for the component to make the correct request to the integrated api and populate it with data. The sibling component sling-sdk-connect must be passed in the project root index html file for data management purposes. If the project has multiple business components this must be passed ONLY ONCE.

Project Wiki:

https://stonepayments.atlassian.net/wiki/spaces/APICLIENTE