This integration uses Paypal's REST API to accept iDEAL payments
See a hosted version
Features:
- EUR Bank transfers 💶
- Paypal REST API intergration
- Receiving Webhook events 🪝
Demo:
This server example implementation uses Node.js
-
Clone the repo
git clone git@github.com:paypal-examples/ideal-api-intergration.git
-
Run
npm install
-
Copy the .env.example file into a file named .env
cp .env.example .env
and configure your .env
config file with your Paypal Sandbox
CLIENT_ID
and CLIENT_SECRET
these can be obtained here
(If you would like to run the example without configuring webhooks you can skip 4 & 5)
-
Run the local webhook server
npm run webhook-server
take note of the webhookId -
Update your
.env
file with theWEBHOOK_ID
value -
Update
client/index.html
<script>
srcclientId
param with yourCLIENT_ID
https://www.paypal.com/sdk/js?client-id=<CLIENT_ID>&...
-
Start the server, in another terminal run
npm start
-
Navigate to http://localhost:8080/
Shaylan Dias