[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
All instances of invoice_id changed to order_id to match the change in PMPro 3.1
Without this change, !!donation!! variable in checkout emails show !!donation!! instead of the donation amount.
How to test the changes in this Pull Request:
Put !!donation!! in checkout email template.
Upgrade to PMPro 3.1
Checkout emails show !!donation!!
Apply change
Checkout emails show donation amount.
Other information:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully run tests with your changes locally?
Changelog entry
Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.
[BUG FIX] Resolves issue with !!donation!! variable not working with email templates in PMPro 3.1. WARNING: not backwards compatible with PMPRO 3.0.6 and earlier. Upgrade to PMPro 3.1 first.
All Submissions:
Changes proposed in this Pull Request:
All instances of invoice_id changed to order_id to match the change in PMPro 3.1
Without this change, !!donation!! variable in checkout emails show !!donation!! instead of the donation amount.
How to test the changes in this Pull Request:
Other information:
Changelog entry
[BUG FIX] Resolves issue with !!donation!! variable not working with email templates in PMPro 3.1. WARNING: not backwards compatible with PMPRO 3.0.6 and earlier. Upgrade to PMPro 3.1 first.