Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable automatic refunds for WCPay Subscriptions renewals (#3197)
* Enables automatic refunds for WCPay Subscriptions renewals - WCPay Subscription renewals were missing the payment method metadata which meant only Manual refunds were supported. * Set the payment method on failed invoices as well I also moved the set payment method call to be above set_order_invoice_id as it calls save() removing the need for us to call save twice. Co-authored-by: James Allan <james.allan@automattic.com>
- Loading branch information