This repository contains examples for integrating stripe using stripe java sdk with spring boot
To run the different examples, provide necessary keys in application.yaml file and uncomment line of codes in StripeExamplesApplication class and run it.
- Uncomment
spring-boot-starter-web
dependency inpom.xml
- Uncomment
WebHooksController.java
- Download Stripe cli : https://stripe.com/docs/stripe-cli
- stripe login
- stripe listen --forward-to localhost:8080/webhookwithoutsign OR stripe listen --forward-to localhost:8080/webhookwithsign
- stripe trigger
customer.created