Provide subscription.js with selfServiceToken

Created on 24 November 2023, over 1 year ago

Problem/Motivation

As a helper for frontend actions based on subscriptionJS: https://developer.billwerk.io/docs/subscriptionJS/overview
it might be helpful to provide it from the module including the helpers to get the selfServiceToken for the user.

See https://developer.billwerk.io/docs/subscriptionJS/setup

Might be provided as Drupal external library definition?

The selfServiceToken retrieval is already available via

  public function getSelfserviceTokenArray(string $contractId): array {
    return $this->get(self::$contractResource . $contractId . "/selfServiceToken");
  }

in BillwerkApi.php

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024