ouardisoft/PaymentBundle — pull request #3 by esion (2012-09-29 10:11:16+00:00)
Title: adding returned constant by Paypal

simply add some constants to make the paypal ipn validation more easier to implement :

$payment = $this->get('payment.factory');
$r = $payment->setPlugin('Paypal')
->setOptions(array('env' => 'sandbox'))
->validate()
->getResultCURL();

if ($r == \OS\PaymentBundle\Plugins\Paypal::IPN_VALIDATE_RESPONSE_VERIFIED) {
//do cool things
}