An open API service indexing awesome lists of open source software.

https://github.com/amadr-95/paypal-spring-boot-integration

Payment integration in Spring Boot using PayPal API
https://github.com/amadr-95/paypal-spring-boot-integration

paypal-api spring-boot

Last synced: about 2 months ago
JSON representation

Payment integration in Spring Boot using PayPal API

Awesome Lists containing this project

README

          

# Spring Boot PayPal integration

This is a demo example of how to integrate paypal payment method on your application.

### PayPal maven dependencies

```xml


com.paypal.sdk
paypal-core
1.7.2


com.paypal.sdk
rest-api-sdk
1.14.0

```

### Setting up PayPal configuration
In order to use PayPal integration in your project in development mode you have to set
`mode = sandbox` in your .properties or .yml file

Also, you have to generate the `clientId` and the `clientSecret` by login in with your PayPal account at
https://developer.paypal.com

![paypal-sandbox](https://github.com/amadr-95/paypal-spring-boot-integration/assets/122611230/e960ed18-b1cb-4d0c-b5bc-ee3d9a9e7408)

![paypal-keys](https://github.com/amadr-95/paypal-spring-boot-integration/assets/122611230/17730659-eda7-4693-b207-611aa7af1892)

Once you have the generated keys, copy them in the .properties or .yml file.

### Some screenshots

![ui](https://github.com/amadr-95/paypal-spring-boot-integration/assets/122611230/4270119e-6b34-44c5-b82c-ab8c6b766fdb)

![payment](https://github.com/amadr-95/paypal-spring-boot-integration/assets/122611230/d310d751-9273-4139-bb91-86a73083c83e)