sling-web-business-aggregate-payments

Aggregate Payments Business Component

Usage no npm install needed!

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

README

Sling Sales Report Expanded Business Component.

This component shows customer's payments aggregate by category.

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-aggregate-payments
        affiliationcodes=""
        startdate=""
        finaldate=""
        hidenetamount
        hidereceivedamount>
    </sling-aggregate-payments>
  • affiliationcodes is required, it's a comma-separated list of affiliation codes, such as "123123123,321321321";
  • startdate is required, it must follow the YYYY-MM-DD or YYYYMMDD format;
  • finaldate is required, it must follow the YYYY-MM-DD or YYYYMMDD format;
  • hidenetamount is not required, it hides the net amount info;
  • hidereceivedamount is not required, it hides the received amount info.

Project Wiki:

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