Skip to content

paypal payment sample using spring boot, paypal java SDK, thymeleaf

Notifications You must be signed in to change notification settings

TANGKUO/paypal-springboot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paypal REST API Payment using Spring Boot

This is sample project how to implement paypal rest api to spring boot web application, if you see pom.xml it will show you that it's using spring boot 1.3.0 starter web, using thymeleaf as template engine, and Paypal Java SDK.

Prerequisites:

Usage

to run this sample, please at first crete paypal account and register your apps to http://developer.paypal.com, get your app configuration and then change paypal configuration in src/main/resource/application.properties of your project

	paypal.mode=sandbox
	paypal.client.app=xxxxxxxxxxxxxxxxxxYOUR_CLIENT_IDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	paypal.client.secret=xxxxxxxxxxxxxxxxxxYOUR_CLIENT_SECRETxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Then run it using maven :

	mvn spring-boot:run

Test in your browser :

	http://localhost:8080

About

paypal payment sample using spring boot, paypal java SDK, thymeleaf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 93.3%
  • HTML 6.7%