I could’nt find a paypal component at vaadin.com and vaadin addon directory so I guess I have to integrate paypal into my app by myself. Do you have some suggestions whats the easiest/best way to do it?
Use the REST API from the server? https://developer.paypal.com/api/rest/
What feature(s) of Paypal do you want to use?
only checkout via paypal buttons
I’m building a online platform with vaadin where users can register and buy digital tickets
Doesn’t the Paypal API support navigating to an actual Paypal page to do checkout, then back to your page?
The Java Sdk ist deprecated. :/
Surely that has nothing to do with the REST API?
I see theres an REST API I can call via http. So I would need a java sdk with an http client implementation that calls the api via http but this is a bit timeconsuming i think
Maybe this old blogpost can help you get started: Consuming REST services from Java applications | Vaadin
Here’s an example app, too: GitHub - vaadin/vaadin-rest-example: Example of using REST services in a Vaadin application
Thanks Olli. I figured out the neccessary API calls to fulfill the checkout.
if I may do a bit self advertising: https://github.com/Osiris-Team/PayHook