pronamic / wp-pay-core

Core components for the WordPress payment processing library. This library is used in the WordPress plugin Pronamic Pay: https://www.pronamicpay.com/, but also allows other plugin developers to set up a payment plugin.
https://www.wp-pay.org/
GNU General Public License v3.0
27 stars 3 forks source link

Add support for metadata in payment lines #107

Closed remcotolsma closed 1 year ago

remcotolsma commented 1 year ago

We need the ability to store metadata with a payment line. In this way we can, for example, store a Mollie order line ID (e.g. odl_dgtxyl) in a payment line.

https://github.com/pronamic/wp-pay-core/blob/95304499915377d6874a8843263265da31d9d705/src/Payments/PaymentLine.php#L1-L25

https://docs.mollie.com/reference/v2/orders-api/get-order