GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SyliusAxeptaPlugin/docs/versioning.md at main · CylleneDigital/SyliusAxeptaPlugin

Expand file tree

/

versioning.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
64 lines (48 loc) · 3.65 KB
/

versioning.md

Copy path

File metadata and controls

64 lines (48 loc) · 3.65 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Versioning and support

This plugin follows semantic versioning. This page states what that promise covers, which is the only way it means anything: a guarantee that does not name its perimeter is not a guarantee.

Public API

A break in any of the following requires a major version. The one exception is closing a security leak, documented as such in UPGRADE.md.

The classes of src/Axepta/ The protocol layer, usable on its own, without Sylius or Payum
AxeptaGatewayFactory and the axepta factory name The name is stored in sylius_gateway_config.factory_name; renaming it would require a data migration
The configuration keys merchant_id, hmac_key, blowfish_key, test_mode, language - stored as such in sylius_gateway_config.config
The bundle settings payment_page_url, logger_channel - set in the application's cyllene_digital_sylius_axepta configuration
The substitution points BlowfishEcbFactoryInterface, BlowfishEcbInterface, TransactionIdGeneratorInterface, ReferenceProviderInterface
CredentialsProvider The single entry point both payment paths go through
AxeptaGatewayConfigurationType What a form type extension targets to add a field to the gateway configuration
The axepta_fields hookable and the template paths What an integrator hooks onto to replace a rendering

The exceptions the protocol layer throws implement AxeptaException. A minor version may add exception classes, or narrow a thrown type to a subclass of the former one, never widen it. Errors raised by PHP itself - a failing entropy source, a type error, a failed assertion - and whatever a substituted implementation of a protocol interface throws are outside that promise.

Substituting a generator carries an obligation

TransactionIdGeneratorInterface declares two methods, and both are part of the contract. resolvePaymentIdentifier() is how the PaymentRequest path finds the notified payment, by primary key, its notification URL being shared across the payment method. The Payum path uses it too, to accept the notification of an earlier attempt of a payment, since reopening the payment page renews the TransID.

On the PaymentRequest path, a generator emitting identifiers its own inverse does not recognise leaves every notification unattached: the bank retries eight times over ~21 h and then gives up, on orders the customer has paid for. On the Payum path, only the earlier attempts are lost.

Internals

Marked @internal, and changeable in a minor version: the Payum actions, the commands, handlers and providers of the PaymentRequest path, the renderer and the container extension. The plugin defines no public service tag: the one it declares for its own command providers is internal wiring.

The classes of the PaymentRequest adapter additionally carry @experimental, mirroring the Sylius foundation they build on. Their evolution to follow a Sylius contract change is not a break of our doing.

Support policy

Line What is covered
Latest minor of the current major Bug and security fixes
Previous major Security only, for 12 months after the next major is released
Sylius versions Those of the continuous integration matrix; support ends when Sylius itself drops a version

A flaw is reported privately, see SECURITY.md. Do not open it as a public issue.

Upgrading

Every compatibility break is written in UPGRADE.md before it is released, with the exact manoeuvre to carry out. A payment plugin is upgraded in production, on a site that takes money: "read the diff" is not an upgrade guide.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.