we use Paypal Express as checkout, using Omnipay php library. Now after the buyer entered his password and agreed to payment on the paypal site, he will be returned to the homepage's success page.
I now wonder, how I can validate that the payment really actually was successful? Calling the success page manually isn't that hard for fake successful payment...
I get a payerid and a token in the back-redirect.
Can I somehow request paypal using omnipay and the token data or payerid to look if the last payment was 100% successful?
I cannot find the documentation for this in Omnipay.
Thanks for help.