I have implemented Stripe into my project. I am using Stripe Connect. Meaning I have two types of users. A customer and a vendor. These are my two functions: