SilverCart\Paypal\Model\Paypal::isValidPaypalIPNCall
called via IPN script; processes the request confirmation and adjusts the order status; paypal calls this IPN script and sends all data relevant for the request.
To check if the paypal answer is really from paypal, the answer plus an additional parameter will be sent back to paypal. paypal answers "VERIFIED" or "INVALID". If the answer is "VERIFIED" we check if the order status must be adjusted.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
Signature
public function isValidPaypalIPNCall(HTTPRequest
$request )
Parameters
$request
— SilverStripe\Control\HTTPRequest- Request data
Returns
- bool