Change quote marks
This commit is contained in:
@@ -62,16 +62,16 @@ function booking_paypal_ipn() {
|
|||||||
|
|
||||||
//retry the attempt to verify the payment 5 times, sleeping in between each attempt
|
//retry the attempt to verify the payment 5 times, sleeping in between each attempt
|
||||||
$continue = TRUE;
|
$continue = TRUE;
|
||||||
$i = 0;
|
$i = 1;
|
||||||
while ($continue && $i < 5)
|
while ($continue && $i < 5)
|
||||||
{
|
{
|
||||||
if(!_booking_paypal_ipn_verify($ipn)) {
|
if(!_booking_paypal_ipn_verify($ipn)) {
|
||||||
watchdog('booking_paypal', 'Payment verification did not succeed on attempt $i.');
|
watchdog('booking_paypal', "Payment verification did not succeed on attempt $i.");
|
||||||
$i++;
|
$i++;
|
||||||
sleep(3);
|
sleep(3);
|
||||||
} else {
|
} else {
|
||||||
$continue = FALSE;
|
$continue = FALSE;
|
||||||
watchdog('booking_paypal', 'Payment verification succeeded on attempt $i.');
|
watchdog('booking_paypal', "Payment verification succeeded on attempt $i.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user