Download the PHP package 99x/craft-vipps-suite without Composer

On this page you can find all versions of the php package 99x/craft-vipps-suite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-vipps-suite

Vipps Suite

A Vipps Suite plugin for CraftCMS. Supports recurring subscription agreements and one-time payments without requiring Craft Commerce.

Installation

Install via Composer:

Then install the plugin in Craft:

Configuration

  1. Navigate to Settings > Plugins > Vipps Suite in the Craft CMS Control Panel
  2. Configure the following credentials (preferably using environment variables):
    • Client ID: $VIPPS_CLIENT_ID
    • Client Secret: $VIPPS_CLIENT_SECRET
    • Merchant Serial Number (MSN): $VIPPS_MERCHANT_SERIAL_NUMBER
    • Subscription Key (Primary): $VIPPS_SUBSCRIPTION_KEY_PRIMARY
    • Subscription Key (Secondary): $VIPPS_SUBSCRIPTION_KEY_SECONDARY

Environment Variables

Add these to your .env file:

Docker / DDEV Development Setup

Requirements

Current Environment:

Target Compatibility:

Additional Requirements:

Note: While the plugin is developed on Craft CMS 4 and PHP 8.0.2, all code is written to be compatible with Craft CMS 5 and PHP 8.2 to ensure smooth future upgrades. See Forward Compatibility Guidelines for details.

Getting Vipps Credentials

  1. Sign up for a Vipps merchant account
  2. Access the Vipps Developer Portal
  3. Create an application to get OAuth credentials (Client ID and Client Secret)
  4. Obtain Subscription API keys (Primary and Secondary)
  5. Get your Merchant Serial Number (MSN) from the Vipps MobilePay business portal

Vipps Login Setup

The plugin includes a complete Vipps Login integration that allows users to authenticate using their Vipps account.

Using Vipps Suite in Templates

The plugin provides a global Twig variable vippsSuite that you can use in any template:

Vipps Login:

Agreement Templates:

Check Active Agreement:

Donations:

Unified Form:

Vipps Login Flow

  1. User clicks the login link generated by vippsSuite.loginUrl()
  2. User is redirected to Vipps authorization page
  3. User authenticates with Vipps
  4. Vipps redirects back to your site
  5. Plugin automatically creates or links the user account
  6. User is logged into Craft CMS
  7. User is redirected to the success URL (or error URL if login failed)

Next Steps

After installation and configuration:

  1. Configure Vipps Login callback URI in your Vipps portal
  2. Add Vipps Login button to your templates using vippsSuite.loginUrl()
  3. Create agreement templates in Vipps Suite > Agreement Templates
  4. Set up agreement template selection pages
  5. Configure webhook endpoints for agreement callbacks
  6. Set up charge scheduling for recurring payments

For detailed information, see the Technical Context documentation.


All versions of craft-vipps-suite with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.2
craftcms/cms Version ^4.14.0|^5.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package 99x/craft-vipps-suite contains the following files

Loading the files please wait ...