sovendus-voucher-network-and-checkout-benefits-svelte
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Sovendus Voucher Network & Checkout Benefits Component for Svelte

Install through npmjs

Execute the following command to install it through npm:

npm install --save sovendus-voucher-network-and-checkout-benefits-svelte

Install manually

Download the Sovendus component from here and add it into your Svelte project / components folder

Integrate into your Svelte app

You can then use the component like with the following example:

<SovendusBanner
 trafficSourceNumber={YOU_TRAFFIC_SOURCE_NUMBER}
 trafficMediumNumber={YOU_TRAFFIC_MEDIUM_NUMBER}
 sessionId="session-sdsdfsdfsd"
 timestamp={1705504738}
 orderId="order-12345"
 orderValue={15.99}
 orderCurrency="EUR"
 usedCouponCode="CouponCodeFromOrder"
 consumerSalutation="Mrs."
 consumerFirstName="John"
 consumerLastName="Smith"
 consumerEmail="test@example.com"
 consumerStreet="Street Name"
 consumerStreetNumber="12/4"
 consumerCity="CityName"
 consumerCountry="DE"
 consumerZipcode="94419"
 consumerYearOfBirth={1991}
/>

Additional steps for Switzerland

For Switzerland it is also required to add the following component on the home page / page where users will land coming from the Sovendus Voucher Network

<SovendusLandingPage />

/sovendus-voucher-network-and-checkout-benefits-svelte/

    Package Sidebar

    Install

    npm i sovendus-voucher-network-and-checkout-benefits-svelte

    Weekly Downloads

    2

    Version

    1.0.7

    License

    GPL-3.0-or-later

    Unpacked Size

    43.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • sovendus