Posted: April 20, 2021 at 3:38 pm
As our template is based on Timber, solutions using EE methods/objects rather than template hooks would be much appreciated if possible.
Firstly, my apologies for missing your other post.
Wrt #1, I’ve asked one of our developers for some feedback on this to see what we can do.
If payment is made in full you could use the Registration Status and/or the transaction status.
When a transaction’s total_amount_owed is equal total_amount_paid, that transactions status will switch to ‘Complete’, before that it will be ‘Incomplete’.
Also, when a transaction switches it status to complete, all monies have been paid, so it will also switch the registrations statuses of all registrations in that transaction to be ‘Approved’.
We have a bunch of hooks on the thank you page depending on where you want to output your additional data, you can see a list (along with some further details for customizing that page), here:
Most of those hooks are passed the EE_Transaction object which means you can pull pretty much any data you need from that.
To give an example on checking if a user has a ‘complete’ transaction, something like:
If you can add some more details on what you’re trying to output and when I can give you some more specific examples if needed.