Demo web project for illustrating Paypal Express Checkout through Braintree SDK.
Sandbox test account
[email protected] / 12345678
- make sure Java 8 installed
- download carstore.jar
- run
java -jar carstore.jar --server.port=8080 - access http://localhost:8080
if port 8080 is used, change to other port number in server.port
This demo uses:
- Javascript (Typescript)
- Angular 5.2.0
- Angular Material 5.1.0
- PayPal checkout.js library
- braintree-web JavaScript SDK 3.25.0
- Java 8
- Spring Boot 2.0.0
- H2 database
- Braintree Java library 2.80.0
Usage of Braintree's Client JavaScript SDK is in
/frontend/src/app/components/checkout.component.ts
Usage of Braintree's Server Java Library is in
/src/main/java/com/wondercars/store/braintree/BrainTreeService.java
