Commerce Set Paid Field

Component ID

2045247

Component name

Commerce Set Paid Field

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module attempts to address #2044231: Add "paid in full" datestamp to order along with "created" and "updated"

You'll need to add a field called "Paid in full" to your order entity BEFORE installing this module. The machine name of that field must be "field_paid_in_full" (or you can edit the code in this module to suit your own needs)

This just adds a rule that sets this field when orders are paid in full, and retrofits the field onto old orders with a batch process. The batch process appears at /admin/commerce (you'll see the menu item on that page)