Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1.8 KB

2023-10-17-add-payment-and-shipping-method-technical_name.md

File metadata and controls

32 lines (28 loc) · 1.8 KB
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Add payment and shipping method technical_name
issue: NEXT-31048
author: Lennart Tinkloh
author_email: [email protected]
author_github: @lernhart
---

Core

  • Added technicalName property to PaymentMethodEntity
  • Added technicalName property to ShippingMethodEntity
  • Added migration to add the corresponding columns to the database. They are nullable for now.
  • Added migration for v6.7.0.0 to make the columns non-nullable.
  • Changed PaymentMethodPersister to automatically generate a technicalName based on the app name and the payment method identifier given in the manifest.xml
  • Changed ShippingMethodPersister to automatically generate a technicalName based on the app name and the shipping method identifier given in the manifest.xml

Administration

  • Added required technicalName field to payment method detail page
  • Added required technicalName field to shipping method detail page

Upgrade Information

Add shipping and payment method technical names

The technical name is only required in the Administration for now, but will be required in the API as well in the future (v6.7.0.0). It is used to identify the payment and shipping method in the API and in the administration.

To prevent issues with the upgrade to v6.7.0.0, please make sure to add a technical name to all payment and shipping methods:

Merchants should add a technical name to all custom created payment and shipping methods in the administration.

Plugin developers should add a technical name to all payment and shipping methods during plugin installation / update.

App developers do not need to do anything, as the technical name is automatically generated based on the app name and the payment or shipping method identifier given in the manifest.xml. This includes existing app installations.