Sales invoice sending automatically


I need a STRIPE and paypal payment gateway which could produce and send a sales invoice (pdf format) as email attachment automatically, when the payment completed.
Do you know any script which could answer this description.
Thank you.


What CMS are you using?


I have no CMS, I would like to buy a stand alone script.


I don’t know for scripts but such things you can get with Wordpress and Woocommerce.