I am new to EE. Can someone guide me how to include paypal in payment type during checkout. Currently we have visa,american express,Mastercard,discover
Since PayPal is an off-site payment gateway, whereas Stripe is an on-site gateway, you'll likely want separate checkout forms, since the final action of each will differ (the Stripe checkout form tokenizes the card and sends it for payment, whereas the PayPal checkout form sends the user to PayPal).
So, on the previous screen before the payment step, give users the option (credit card or PayPal), then send them to the respective template based on that.
Then you just need to use the
gateway parameter (docs) of the
checkout_form tag so that each gets processed properly.
This tutorial may also help: Allow the customer to select a gateway