We’re in the process of testing EE with PayPal Express using PP Sandbox accounts.
When a transaction completes, the invoice shows the message
Please send this invoice with payment attached to the address above, or use the payment link below. Payment must be received within 48 hours of event date.
This should be marked as paid once payment is made via PayPal.
There is no check on the transaction status when displaying the text so it can not change to show something different based on the status, for that you would need your own custom shortcode that does pretty much the same steps as the current shortcode but also pulls in the transaction object and checks it’s status.
Note, please do not edit EE’s own core files, you can add your own shortcodes via hooks, editing any of EE’s file prevents us from providing support and will be lost each time EE updates (same as any other WP plugin).
I’ve previously posted examples of how to add your own message shortcodes here:
The library your checking for would be EE_Transaction_Shortcodes
Here’s an example of how to add a shortcode specifically to the EE_Transaction_Shortcodes library which also shows you how you can get the EE_Transaction object:
Thanks Tony. Will have a read through all that later today.
Thanks
Phil
Viewing 4 reply threads
The support post ‘Invoices Should Be Marked As Paid’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.