AndreD Posted December 7, 2007 Posted December 7, 2007 it's about this contribution: http://addons.oscommerce.com/info/4737 whenever I use it, the message pops up right, but then the customer is NOT guided to paypal anymore, instead, the order is instantly completed . I inserted the section from <-- Begin Daddyroy's Alert --> <?php /* $Id: checkout_confirmation.php,v 1.139 2003/06/11 17:34:53 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ . . . . . . <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <-- Begin Daddyroy's Alert --> <? $payment = $HTTP_POST_VARS['payment']; $paypal = "paypal"; if(stristr($paypal, $payment)) { ?> <body onLoad="alert('Viktig Informasjon:\n\nNår du klikker Bekreft Ordre vil du bli sendt til PayPal for en sikker betaling.\nDet er VIKTIG at returnerer til HeliHobby etter å ha betalt,\nslik at din ordrestatus blir oppdatert.\n\nNår du har betalt, klikk på knappen hos PayPal, for å returnere til HeliHobby.')"topmargin="0" bottommargin="0"> <?php } else { ?> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <?php } ?> <--End Daddyroy's Alert --> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> .... Could somebody please tell why this is happening ? Thank you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.