Skip to content

paypal-examples/sofort

Repository files navigation

Paying with Sofort or Paypal on the web

Sofort Logo Paypal Logo

This integration uses the JavaScript SDK to accept Sofort of Paypal payments on the web

See a hosted version of the sample

How to run locally

Copy the .env.example file into a file named .env

cp .env.example .env

and configuring your .env config file with your Paypal API keys.

  1. Clone the repo git clone [email protected]:paypal-examples/sofort-payment.git
  2. Run npm install
  3. Run npm run dev
  4. Navigate to http://localhost:8080/

PayPal Codespaces

PayPal codespaces require a client ID and client secret for your app.

Link to codespaces

Open in GitHub Codespaces

Learn more

You can read more about codespaces in the PayPal Developer Docs.

Feedback