craigglawson Posted July 31, 2004 Share Posted July 31, 2004 Im using the Worldpay 4.0 v1.0 module When i submit a test transaction to worldpay it says Parse error: parse error, unexpected T_STRING in /home/diequest/public_html/shop/includes/languages/english/wpcallback.php on line 29 1062 - Duplicate entry 'cd6f30cf14f858d0d663d3c7f3a71f62' for key 1 insert into sessions values ('cd6f30cf14f858d0d663d3c7f3a71f62?language=en', '1091312021', 'cart|O:12:\"shoppingcart\":4:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:12:\"content_type\";b:0;}language|s:7:\"english\";languages_id|s:1:\"1\";currency|s:3:\"GBP\";navigation|O:17:\"navigationhistory\":2:{s:4:\"path\";a:1:{i:0;a:4:{s:4:\"page\";s:14:\"wpcallback.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:3:{s:6:\"osCsid\";s:44:\"cd6f30cf14f858d0d663d3c7f3a71f62?language=en\";s:7:\"msgType\";s:10:\"authResult\";s:12:\"installation\";s:5:\"96828\";}s:4:\"post\";a:36:{s:8:\"testMode\";s:3:\"100\";s:8:\"authCost\";s:3:\"5.7\";s:8:\"currency\";s:3:\"GBP\";s:7:\"address\";s:23:\"18 Birnam Place Dundee\";s:13:\"countryString\";s:14:\"United Kingdom\";s:12:\"installation\";s:5:\"96828\";s:3:\"fax\";s:0:\"\";s:12:\"countryMatch\";s:1:\"B\";s:7:\"transId\";s:8:\"79887313\";s:3:\"AVS\";s:4:\"0000\";s:12:\"amountString\";s:10:\"?5.70\";s:8:\"postcode\";s:7:\"DD2 2JQ\";s:7:\"msgType\";s:10:\"authResult\";s:4:\"name\";s:12:\"Craig Lawson\";s:3:\"tel\";s:11:\"09862986298\";s:11:\"transStatus\";s:1:\"Y\";s:4:\"desc\";s:32:\"Purchase from Diamond Equestrian\";s:8:\"cardType\";s:6:\"Switch\";s:4:\"lang\";s:2:\"en\";s:9:\"transTime\";s:13:\"1091310577581\";s:16:\"authAmountString\";s:10:\"?5.70\";s:10:\"authAmount\";s:3:\"5.7\";s:9:\"ipAddress\";s:14:\"80.229.222.205\";s:4:\"cost\";s:3:\"5.7\";s:6:\"instId\";s:5:\"96828\";s:9:\"MC_oscsid\";s:0:\"\";s:6:\"amount\";s:3:\"5.7\";s:8:\"compName\";s:18:\"Diamond Equestrian\";s:7:\"country\";s:2:\"GB\";s:11:\"MC_callback\";s:93:\"diamondequestrian.com/shop/wpcallback.php?osCsid=cd6f30cf14f858d0d663d3c7f3a71f62?language=en\";s:14:\"rawAuthMessage\";s:22:\"cardbe.msg.testSuccess\";s:5:\"email\";s:24:\"[email protected]\";s:12:\"authCurrency\";s:3:\"GBP\";s:11:\"rawAuthCode\";s:1:\"A\";s:6:\"cartId\";s:39:\"osCsid=cd6f30cf14f858d0d663d3c7f3a71f62\";s:8:\"authMode\";s:1:\"A\";}}}s:8:\"snapshot\";a:0:{}}') [TEP STOP] Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 Any Help? Craig Quote ... Too close for missiles, I'm switching to guns ... Link to comment Share on other sites More sharing options...
OceanRanch Posted August 1, 2004 Share Posted August 1, 2004 Craig, Try this thread that had a couple of solutions that might solve your particular problem. http://www.oscommerce.com/forums/index.php?showtopic=76935&hl= HTH Tom Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2004 Share Posted August 6, 2004 Awesome, Tom Thanks for pointing to that thread. Replacing that line in worldpay.php fixed me up Maybe you might have an idea on this one? http://www.oscommerce.com/forums/index.php?showtopic=105776 Quote Link to comment Share on other sites More sharing options...
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.