Before you begin, make sure that you have created a Stripe account and you are logged into it.
1. Open your website’s dashboard and go to WP Payments -> Settings.
2. Click this button (Click to connect).
3. You will be taken to this Stripe page. Now select your account, and click Connect.
4. You will be taken back to your website’s dashboard, which means your website has been successfully connected with Stripe.
5. Now if you want to switch between live mode and test mode, go to the Advanced settings tab and choose the mode you want.