mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
* Remove order-level invoice paid shortcut * Add admin 'mark invoice paid' flow for orders * Fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Trim admin custom gateway transaction ID before storing Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/b1ec86d8-1fae-4a33-b704-15f9cc3d6baa Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> * Fix test gateway ID and correct create() docblock return type Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/b63acd4a-b280-4e35-934a-29c15bf78e8c Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> * Fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Prevent duplicate transactions for already-paid invoices and fix API docblock Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/bf20ed38-ab95-4e4f-9a60-3624ca688d59 Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> * Use strict comparison for invoice status check Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/bf20ed38-ab95-4e4f-9a60-3624ca688d59 Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> * Wrap order creation in transaction * Add DB transaction helper and update Order service * Fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fix boolean normalization security issues in mark_invoice_paid flow Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/15c7eb69-841d-408c-94be-a22dc07c67f4 Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> * Import Tools and use it in Invoice Service * Move invoice approve/mark-paid outside transaction to prevent side effect inconsistencies Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58dcd4cb-ec49-4d31-ba25-224f1d742199 Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> * Fix syncMarkInvoicePaidControls() initialization for AJAX-rendered contexts Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58dcd4cb-ec49-4d31-ba25-224f1d742199 Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> * Improve code clarity with better comments for transaction safety Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58dcd4cb-ec49-4d31-ba25-224f1d742199 Co-authored-by: admdly <2807620+admdly@users.noreply.github.com> * Handle invoice follow-up errors and use model * Fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>