Convert CheckoutFlow, CheckoutPane, NumberPattern, PaymentGateway, PaymentMethodType, PaymentType, TaxType, TaxNumberType to attributes.

Created on 25 July 2024, 3 months ago
Updated 9 August 2024, 2 months ago

Describe your bug or feature request.

As of Drupal 10.2.0, new Plugin implementations should use PHP attributes. Core already migrated field formatters, field types and field widgets to attributes (See https://www.drupal.org/docs/drupal-apis/plugin-api/attribute-based-plugins for more information).

We should support that from Commerce 3, which now requires D10.3 minimum.
We need to define new attributes for PaymentGateway, PaymentMethodType, PaymentType, TaxType, PromotionOffer etc...

We should still support annotations but eventually drop annotation support at the end of the Commerce 3 cycle so Commerce 4 can drop support and work on Drupal 12.

📌 Task
Status

Fixed

Version

3.0

Component

Developer experience

Created by

🇮🇱Israel jsacksick

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

Merge Requests

Comments & Activities

  • Issue created by @jsacksick
  • Pipeline finished with Failed
    3 months ago
    Total: 436s
    #233992
  • 🇮🇱Israel jsacksick

    I started by defining TaxType and TaxNumberType attributes... But now I'm wondering... Perhaps it makes sense to prefix our attributes (just like our annotations, by Commerce, to be consistent with what was done for annotations...)

    So TaxType would become CommerceTaxType for example.

  • Pipeline finished with Failed
    3 months ago
    Total: 576s
    #234465
  • Pipeline finished with Failed
    3 months ago
    Total: 569s
    #234475
  • Pipeline finished with Canceled
    3 months ago
    Total: 77s
    #234500
  • Pipeline finished with Failed
    3 months ago
    Total: 483s
    #234495
  • Pipeline finished with Failed
    3 months ago
    Total: 504s
    #234501
  • Pipeline finished with Failed
    3 months ago
    Total: 508s
    #234529
  • Pipeline finished with Failed
    3 months ago
    Total: 456s
    #234544
  • Pipeline finished with Failed
    3 months ago
    Total: 89s
    #234549
  • Pipeline finished with Failed
    3 months ago
    Total: 572s
    #234552
    • jsacksick committed 8c977176 on 3.0.x
      Issue #3463795 by jsacksick: Convert CheckoutFlow, CheckoutPane,...
  • Status changed to Fixed 3 months ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Pipeline finished with Failed
    about 1 month ago
    Total: 542s
    #278529
  • Pipeline finished with Success
    about 1 month ago
    Total: 437s
    #278547
  • Pipeline finished with Skipped
    about 1 month ago
    #278625
  • Pipeline finished with Success
    about 1 month ago
    Total: 521s
    #279228
  • Pipeline finished with Failed
    about 1 month ago
    Total: 588s
    #279338
  • Pipeline finished with Failed
    about 1 month ago
    Total: 464s
    #279389
  • Pipeline finished with Failed
    about 1 month ago
    Total: 670s
    #279731
  • Pipeline finished with Success
    about 1 month ago
    #279742
  • Pipeline finished with Success
    about 1 month ago
    Total: 435s
    #279966
  • Pipeline finished with Success
    about 1 month ago
    #280134
Production build 0.71.5 2024