Does the Stripe payment gateway contain unique payment methods in your shop? I ask because our Professional extension has the option to disable the document creation of any document type based on conditions, including the payment method, BUT not the payment gateway itself.
This means that if payment methods are shared between gateways, it would not work. A code snippet would therefore need to be used.
If you choose to go the code snippet route, the filter to use in order to make PDF generation conditional is the wpo_wcpdf_document_is_allowed filter (see all filter hooks).