0

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

4
  • Using which e-commerce module? (They all have PayPal as a bundled payment method.) Commented Jun 13, 2014 at 14:48
  • @DerekHogue :I am using cartthrob and want paypal and stripe. How can i include? i should modify checkout template right?
    – Vishal
    Commented Jun 13, 2014 at 14:52
  • What e-comerce module are you using for your cart? Store? CartThrob? BrilliantRetail? These all support PayPal and Stripe, so I'm not clear on what your question actually is. Commented Jun 13, 2014 at 18:27
  • @DerekHogue I am using CartThrob and from the backend i have configured Paypal and stripe.
    – Vishal
    Commented Jun 13, 2014 at 18:44

1 Answer 1

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.