Download the PHP package mirrorps/drupal-taler-payments without Composer

On this page you can find all versions of the php package mirrorps/drupal-taler-payments. 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 drupal-taler-payments

Taler Payments for Drupal

Developer-focused and site-builder-friendly documentation for the custom Drupal module that integrates GNU Taler payments.

This module adds a configurable Drupal block that starts a GNU Taler checkout flow, creates Merchant Backend orders on demand, opens the wallet with a taler:// URI, and supports QR-based mobile payment.

Who This Is For

This README is written for two audiences:

Quick Start For Site Owners

If you only need to use the module on your Drupal site:

  1. Install the module and its Composer dependencies.
  2. Enable taler_payments from Extend or with Drush.
  3. Open the settings page at /admin/config/services/taler-payments.
  4. Save:
    • A Taler Base URL that includes the instance path and uses https://
    • Either an Access Token or Username/Password/Instance ID
  5. Place the Taler payment button block in a region or layout.
  6. Configure the block:
    • Button text
    • Summary
    • Amount
  7. Save the block and visit the page where it appears.

Requirements

Installation

Install the module in your Drupal codebase with Composer.

Example from the Drupal project root:

Configuration

Open the module settings page:

The settings page is split into four sections.

1. Base URL

2. Access Token

3. Username And Password

4. Public Text Customization

Optional text overrides for the public checkout page:

If these values are left empty, the module uses safe defaults.

Authentication Behavior

Two authentication methods are supported:

If both are configured, access token authentication takes priority.

How To Show The Taler Payment Block

This is the main user-facing feature of the module.

Place The Block In Standard Block Layout

  1. Go to Structure -> Block layout.
  2. Choose the region where you want the payment button to appear.
  3. Click Place block.
  4. Search for Taler payment button.
  5. Click Place block.
  6. Fill in the block settings:
    • Button text: text shown on the button
    • Summary: text describing the payment
    • Amount: GNU Taler amount format such as EUR:1.00 or KUDOS:0.50
  7. Save the block.
  8. Save the block layout.

Use The Block In Layout Builder

If your site uses Layout Builder, add the Taler payment button block the same way you would add any other custom block plugin to a section.

Important Notes For Editors

What Visitors See

After clicking the payment button, the visitor is sent to a Drupal checkout page managed by this module.

The checkout page shows:

The module also adds the taler URI scheme to Drupal allowed protocols and outputs the Taler support meta tag on checkout pages.

Core Behavior

Developer Notes

Main Components

Frontend Assets

Configuration Storage

Settings are stored in Drupal configuration.

Sensitive credentials are encrypted before storage.

Local Development

Install dependencies:

Enable the module in your Drupal environment:

Running Tests

This module currently includes unit tests.

From a Drupal project where the module is installed, run:

Project Structure

Contributing

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

Privacy

The module does not create user profiles.

When users trigger payment actions, Drupal sends order-related requests to the configured Merchant Backend. Hosting and backend logs may include metadata such as IP addresses and request details.

License And Third-Party Components

See:

Funding

This project is funded through NGI TALER Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.

NLnet foundation logo


All versions of drupal-taler-payments with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-openssl Version *
mirrorps/taler-php Version ~1.2.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 mirrorps/drupal-taler-payments contains the following files

Loading the files please wait ...