Duplicate Snippet
Embed Snippet on Your Site
MemberPress: Generate Invoice Numbers for Zero Amount Transactions
This code snippet ensures invoice numbers are generated for transactions with zero amounts in MemberPress.
By default, MemberPress PDF Invoices doesn't automatically create invoice numbers for free transactions, which can cause gaps in your invoice sequence and accounting records.
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Comments