Download the PHP package coretrekas/vipps without Composer

On this page you can find all versions of the php package coretrekas/vipps. 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 vipps

Vipps MobilePay PHP SDK

Latest Version PHP Version License

A comprehensive, production-ready PHP SDK for Vipps MobilePay APIs, providing easy integration with:

Features

Requirements

Installation

Install via Composer:

Note: This package requires PHP 8.1 or higher.

Package Structure

The SDK is organized under the Coretrek\Vipps namespace:

All classes use the Coretrek\Vipps namespace prefix.

Quick Start

Initialize the Client

Optional: Set System Information Headers

You can optionally provide system information that will be sent with all API requests for better tracking and support:

These headers help Vipps support team identify your integration and provide better assistance.

ePayment API

The ePayment API is designed for online and in-person payments with full lifecycle management including authorization, capture, refund, and cancellation.

Create a Payment

Create a Payment with Builder (Recommended)

Create a Payment with Receipt

Get Payment Details

Capture a Payment

Refund a Payment

Cancel a Payment

Get Payment Event Log

QR Code Payment

Push Message Payment

Payment with Shipping Options

Checkout API

Create a Payment Session (Checkout API)

Create a Payment Session with Builder (Recommended)

Get Session Information

Create a Recurring Agreement

List Agreements

Create a Charge

Capture a Reserved Charge

Refund a Charge

Advanced Usage

Custom HTTP Client

You can provide your own PSR-18 compatible HTTP client:

Custom Logger

Integrate with your PSR-3 compatible logger:

Error Handling

Checkout API Examples

Payment with Logistics Options

Subscription Session

Recurring API Examples

Agreement with Campaign

Variable Amount Agreement

Create Multiple Charges Asynchronously

Login API Examples

OAuth 2.0 / OpenID Connect Flow

App-to-App Flow

For mobile apps, you can use the app-to-app flow to redirect users from your app to the Vipps app and back:

The requestedFlow('app_to_app') parameter tells Vipps to use the app-to-app flow, and appCallbackUri() specifies the deep link URI where the user will be redirected after authenticating in the Vipps app.

Handle OAuth Callback

CIBA Flow (Merchant-Initiated Login)

Get OpenID Configuration

Testing

Running Tests

Code Quality

Integration Tests

Integration tests require valid Vipps test environment credentials. Set these environment variables:

Note: Integration tests are skipped by default if environment variables are not set.

API Documentation

For detailed API documentation, visit:

Support

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Development Setup

License

This SDK is licensed under the MIT License. See the LICENSE file for details.

Changelog

See CHANGELOG.md for version history.


All versions of vipps with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
guzzlehttp/guzzle Version ^7.8
psr/http-client Version ^1.0
psr/http-message Version ^1.0|^2.0
psr/log Version ^3.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 coretrekas/vipps contains the following files

Loading the files please wait ...