custom stripe plugin

Ok, so after 2 days of wasted time, I figured out that since my site was requiring a user login, it was redirecting stripe to the login page. Now that I removed that function, stripe is able to connect to my site.