Develop a PHP script that connects to a Stripe API to process payments. The script should be able to handle multiple payment methods, such as credit cards and bank transfers. Additionally, it should provide error handling for cases when payments fail or are declined. The script should also include a feature to securely store customer payment information for future use. Finally, the script should be well-documented with clear explanations of its functions and usage.
This prompt doesn't seem malicious.