sling-web-business-transactions

Transactions business component

Usage no npm install needed!

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

README

Sling Transactions Business Component.

This component renders a table element with the real-time transactions of the merchant within.

Usage

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

    <!-- component wrapper page location -->
    <sling-transactions
        affiliationcodes=""
        startdate=""
        finaldate=""
        autorefresh=""
        refreshrate="">
    </sling-transactions>

The affiliationcodes, startdate and finaldate attributes are mandatory for the component to make the correct request to the integrated api and populate it with data. The autorefresh atribute indicates whether or not to autorefresh the component data, and its default value is FALSE. The refreshrate atribute tells the autorefresh how long it will wait between requests, in milliseconds (default = 10000).

Project Wiki:

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