sling-web-business-plans

Plans business component

Usage no npm install needed!

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

README

Sling Plans Business Component

This component is to show the clients the plan they hired, its features and details about its payment.

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-plans
      affiliationcode=""
      size=""
      isshrunk
      planinfourl=""
      >
    </sling-plans>

The affiliationcode atribute is mandatory for the component to make the correct request to the integrated api and populate it with data.

The size atribute has currenly two options: 'small' and 'large', which renders the views for the specified size.

The isshrunk is a boolean atritute, also about the view. It determines whether the view is shrunk or not.

planinfourl is mandatory. It is URL where the component should look for the text values.

Project Wiki:

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