OK #cashu community, I am building a digital store flask application. User can browse unique digital goods and pay a Lightning invoice to gain access to them. Once the invoice is paid the user will receive an email (and maybe a #nostr DM) with the content.
My question is:
What would be the best way to recieve a verified payment via lightning that automatically converts to #ecash for the store front wallet or maybe an external wallet?
Is there a good way to generate invoices that could deposit funds into say a nostr:nprofile1qqsg2aharxl7dy7t5mc2acemssnnxscxs3hvvxm9uttpwgy7rsppq3spzdmhxue69uhhqatjwpkx2urpvuhx2ue0hyczkz address in a way that can trigger an email confirmation route in my flask app?