This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

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

1.1.2 • Public • Published

Sovendus Voucher Network & Checkout Benefits Component for React

Installation

Install the package using your favorite package manager:

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

or

yarn add sovendus-voucher-network-and-checkout-benefits-react

Use the component in your React App

Use the component on you checkout success / thank you page and make sure to pass all the required data:

Click here for detailed information on the parameters and which ones are required.

<SovendusBanner
  trafficSourceNumber={YOUR_TRAFFIC_SOURCE_NUMBER} // replace with your trafficSourceNumber
  trafficMediumNumber={YOUR_TRAFFIC_MEDIUM_NUMBER} // replace with your trafficMediumNumber
  orderId={"order-123"}
  orderValue={12.4}
  orderCurrency={"EUR"}
  sessionId={"Session32323"}
  usedCouponCode={"TestVoucherCode"}
  salutation={"Mr."}
  firstName={"Test"}
  lastName={"Tester"}
  email={"test@sovendus.com"}
  phoneNumber={"+49123456789"}
  yearOfBirth={1991}
  dateOfBirth={"01.12.2020"}
  streetName={"Streetname"}
  streetNumber={"12"}
  cityName={"Reisbach"}
  countryCode={"DE"}
  zipCode={"94419"}
/>

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 />

Package Sidebar

Install

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

Weekly Downloads

979

Version

1.1.2

License

GPL-3.0-or-later

Unpacked Size

46 kB

Total Files

9

Last publish

Collaborators

  • sovendus_marcus