PayPal Express is one of the payment gateways included in Craft Commerce but I can’t find an example of how to set this up. Is it something that would require a custom plugin for posting secure data to PayPal or is there an easier way to do this out of the box?

I currently have a payment form as per the Commerce example templates with everything working through the Dummy gateway but now looking to replace that form with a simple PayPal Express checkout button, returning to the order page if successful. Any examples or pointers appreciated.


The example templates work with PayPal express out of the box, there is nothing special you need to do.

You can only add PayPal Express as a Payment method when you have bought and registered Craft Commerce.

Paypal Express is an 'offsite' gateway, and it uses the exact same form as the dummy payment form but posts the form without the credit card inputs - that form then redirects you to PayPal.

  • All gateways in Commerce 1 are now included by default on install. Oct 11 '18 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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