First, you’ll need to create a payment method. To create it, click on the profile icon at the top menu of your dashboard. Then select “Payment methods”
.
It opens the payment methods page in which you can create your methods. Click on the “Create new payment method” link to create one.
Add a title for your method so you can recognize it later. Then enter your Stripe’s secret key and published key. Select Stripe as your payment method and hit save.
From the settings tab, enable "Form with payment" and select your payment method from the dropdown list.