Skip to content

Package model overview

Target Audience: Users, Stakeholders

Introduction

This section describes the Payway concepts Product, Package and Campaign and how these relates to each other.

How products, packages and campaigns relate

Products, Packages and Campaigns

How to do access verification

Using the products, packages and campaigns from the image above as an example, setting up verification of access for customers should be done using the products at the left.

The Javascript-API and the Payway API both have methods of getting information on the logged in user. This information contain a field with all active products that the logged in customer has access to. These are product codes that should be matched in the appropriate product in order to verify access.

Example

The website should verify that a visiting customer have the product_web product. This way the packages and campaigns can change over time without the need to adjust the access verification for the website.