This component is released as open source under the GPL v3 license. We welcome bug reports and pull requests from the community. However, please note that the component is provided "as is" without any warranties or guarantees. It may not be compatible with all other plugins and could potentially cause issues with your store. We strongly recommend that you test the plugin thoroughly in a staging environment before deploying it to a live site. Furthermore, we do not promise future support or updates and reserve the right to discontinue support for the component at any time.
1. Download and install the component with the following command:
import'package:sovendus_voucher_network_and_checkout_benefits/sovendus_voucher_network_and_checkout_benefits.dart';SovendusBanner( trafficSourceNumber: YOUR_TRAFFIC_SOURCE_NUMBER, trafficMediumNumber: TRAFFIC_MEDIUM_NUMBER, orderUnixTime:1699904232, sessionId:"kljadkaskdlaksdjaskd", orderId:"Order-123", netOrderValue:120.5, currencyCode:"EUR", usedCouponCode:"CouponCodeFromThePurchase", customerData:SovendusCustomerData( salutation:"Mr.", firstName:"John", lastName:"Smith", email:"example@example.com", phone:"+4915546456456", yearOfBirth:1990, dateOfBirth:"01.12.2020", street:"Teststreet", streetNumber:"12/1", zipcode:"76135", city:"Karlsruhe", country:"DE",),// Until the banner is loaded we're showing a loading indicator,// optionally you can pass a custom loading spinner with the type Widget customProgressIndicator:RefreshProgressIndicator(),)