Follow the instructions below to How to Configure the PayPal Payment Gateway in WordPress with WooCommerce?
First of all, open your WordPress dashboard. Then click on the plugin and then on add new button. Now on the search bar, we have to search PayPal by WooCommerce. Now I have to install the first plugin. Wait a few seconds and then click on the active button.
So now here we have to click on Woocommerce and then on the setting button.
Now click on the payment section.
And enable the Paypal checkout and then click on the setup button.
Now here you have to add the API username and API password. PayPal provides API passwords and API usernames.
So Login your PayPal account. Then click on the account settings. After that click on the website payment button. Next click on the API Access Update button.
Simply scroll down and click on the API Integration classic button. After that, we have to click on the show buttons. So here we have to copy all the details. And put the details on the PayPal plugin.
And now click on the save changes button. So now we check if our payment option is added or not. So your Paypal Payment Gateway has been added successfully in your online store.