Storing data for page in twig
I'm not exactly sure how this plugin works, but in general the best way to do this is to rely on Webhooks.  You can listen for charge.succeeded events and send an email when those occur.  If you're not a programmer, you can always use something like Zapier or IFTTT to do this too.

:)  Hope that helps!