sling-web-business-payments-calendar

Payments Calendar business component

Usage no npm install needed!

<script type="module">
  import slingWebBusinessPaymentsCalendar from 'https://cdn.skypack.dev/sling-web-business-payments-calendar';
</script>

README

Sling Business Payments Calendar Component.

This component renders a calendar element with the payment information within.

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-payments-calendar
      stonecode=""
      apitoken=""
      startdate=""
      finaldate=""
      showpaymentstatus>
    </sling-payments-calendar>

The stonecode, apitoken, startdate and finaldate 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