|
@@ 347-353 (lines=7) @@
|
| 344 |
|
tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, 'error_message=' . stripslashes($appPayPalEcResult['L_LONGMESSAGE0']), 'SSL')); |
| 345 |
|
} |
| 346 |
|
|
| 347 |
|
if (empty($comments)) { |
| 348 |
|
if (isset($HTTP_POST_VARS['ppecomments']) && tep_not_null($HTTP_POST_VARS['ppecomments'])) { |
| 349 |
|
$comments = tep_db_prepare_input($HTTP_POST_VARS['ppecomments']); |
| 350 |
|
|
| 351 |
|
$order->info['comments'] = $comments; |
| 352 |
|
} |
| 353 |
|
} |
| 354 |
|
|
| 355 |
|
$params = array('TOKEN' => $appPayPalEcResult['TOKEN'], |
| 356 |
|
'PAYERID' => $appPayPalEcResult['PAYERID'], |
|
@@ 404-410 (lines=7) @@
|
| 401 |
|
tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, 'error_message=' . urlencode($appPayPalEcResult['OSCOM_ERROR_MESSAGE']), 'SSL')); |
| 402 |
|
} |
| 403 |
|
|
| 404 |
|
if ( empty($comments) ) { |
| 405 |
|
if ( isset($HTTP_POST_VARS['ppecomments']) && tep_not_null($HTTP_POST_VARS['ppecomments']) ) { |
| 406 |
|
$comments = tep_db_prepare_input($HTTP_POST_VARS['ppecomments']); |
| 407 |
|
|
| 408 |
|
$order->info['comments'] = $comments; |
| 409 |
|
} |
| 410 |
|
} |
| 411 |
|
|
| 412 |
|
$params = array('EMAIL' => $order->customer['email_address'], |
| 413 |
|
'TOKEN' => $appPayPalEcResult['TOKEN'], |