Implement invoice data type plugin, payment processor plugin

Created on 3 January 2019, over 6 years ago
Updated 9 January 2025, 3 months ago

Problem/Motivation

Implement an invoice/payment data type plugin for backwards-compatibility with previous version's use case.

Proposed resolution

  1. Write a data type plugin to create an Invoice from the Order.
  2. Write a processor plugin for Payments. This probably has to be a "send" plugin, but maybe ordered first so it saves the Order, then adds the Payments later?
  3. Write a kernel test for each plugin. Invoices with payments are probably way too complex for the xero data test trait and it lacks support for those data types anyway.

Remaining tasks

  • Write a patch.
  • Manually test

API changes

Maybe.

Data model changes

Probably not.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mradcliffe USA

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024