Guest Posted November 29, 2008 Share Posted November 29, 2008 Can you bring up both those pages - View the page source then paste it in a PM to me please. Quote Link to comment Share on other sites More sharing options...
dccsupplies Posted December 3, 2008 Share Posted December 3, 2008 Hi, I figured out that it's something to do with tep_image I made the following replacements, and I get barcodes! I'm not familiar enough with PHP or OSC to figure out why, although we are running PHP5: Checkout_success.php Replaced: echo '<p align="center"><a href="'.tep_href_link(FILENAME_PAYOFFLINEPRO_PAYSLIP, 'oid='.$payofflinepro['oid'], 'SSL').'" target="_new">'.tep_image($payofflinepro['BarcodeURL'], 'PayOffline Barcode').'</a></p>'; with: echo '<p align="center"><a href="'.tep_href_link(FILENAME_PAYOFFLINEPRO_PAYSLIP, 'oid='.$payofflinepro['oid'], 'SSL').'" target="_new">'."<img src='$payofflinepro[barcodeURL]' alt= 'PayOffline Barcode'>".'</a></p>'; And in Payofflinepro_payslip.php echo '<p align="center">'.tep_image($details['BarcodeURL'], 'PayOffline Barcode').'</p>'; with: echo "<center> <img src='$details[barcodeURL]' alt='PayOffline Barcode here'> </centre>"; Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2008 Share Posted December 3, 2008 Glad to hear it's working - I think someone else had this problem - I'm not sure yet why it affects some sites but not others Quote Link to comment Share on other sites More sharing options...
gotdownloads Posted December 10, 2008 Share Posted December 10, 2008 Hi I have opened an account and installed the module but when i checkout i get the following error MODULE_PAYMENT_PAYOFFLINEPRO_TEXT_ERROR Authentication error Any ideas what the problem might be? Jason Quote Link to comment Share on other sites More sharing options...
Guest Posted December 10, 2008 Share Posted December 10, 2008 "Authenticate error" is the error sent back from the PayOffline server - check your username and secret key are correct (note the test and live modes have different codes) Quote Link to comment Share on other sites More sharing options...
gotdownloads Posted December 11, 2008 Share Posted December 11, 2008 Hi Thank you it all seems to be working apart from the api is returning the pending but does not update when payment is complete. Cheers Jason Quote Link to comment Share on other sites More sharing options...
Guest Posted December 12, 2008 Share Posted December 12, 2008 I found the cause and a solution to callbacks failing. What is happening is that although the PayOffline documentation states that the transaction id is string(255), they actually truncate it at 50 chars so when the callback is made it doesn't match the value in the db (which is the full length). I have updated the module file to now only generate 50 character transaction ids for new transactions and when processing callbacks to only look at the first 50 chars in the db. I'll upload the new module shortly. Changed files are: /payofflinepro_callback.php /includes/modules/payment/payofflinepro.php Quote Link to comment Share on other sites More sharing options...
clrob11 Posted May 14, 2009 Share Posted May 14, 2009 Hi Tom, Wonder if you could help? I have installed this module and ran a test transaction however it does not seem to get as far as checkout success. I get this instead. Warning: require(fpdf/fpdf.php) [function.require]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/xxxxxxxx/pdfinvoice.php on line 21 Warning: require(fpdf/fpdf.php) [function.require]: failed to open stream: No such file or directory in /home/xxxxxxx/public_html/xxxxxxx/pdfinvoice.php on line 21 Fatal error: require() [function.require]: Failed opening required 'fpdf/fpdf.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/xxxxxg/pdfinvoice.php on line 21 The sale does go through I can see it in admin and on the simulator. But I cannot open the pdf invoice in admin either. Any advice would be greatfully received Chris Quote Better to be looked over than overlooked! Link to comment Share on other sites More sharing options...
Guest Posted May 14, 2009 Share Posted May 14, 2009 This contribution doesn't use pdf files at all -from the above it look like you have a pdf invoice contrib installed and the two have clashed. The error suggests that you are missing the file /fpdf/fpdf.php - I'd double check that this file exists and if not re uploaded it from the pdf contrib. Quote Link to comment Share on other sites More sharing options...
clrob11 Posted May 14, 2009 Share Posted May 14, 2009 ok Tom would this also be the reason I did not get an order email? Quote Better to be looked over than overlooked! Link to comment Share on other sites More sharing options...
Guest Posted May 14, 2009 Share Posted May 14, 2009 I imagine that it is - you have a "fatal error" above and I suspect that occurs before the email is generated - once the fpdf problem is fixed the emails will probably start working Quote Link to comment Share on other sites More sharing options...
clrob11 Posted May 14, 2009 Share Posted May 14, 2009 Thanks Tom, Great Contribs by the way. and many thanks for your help. Chris Quote Better to be looked over than overlooked! Link to comment Share on other sites More sharing options...
clrob11 Posted May 18, 2009 Share Posted May 18, 2009 Thanks Tom, Great Contribs by the way. and many thanks for your help. Chris Hi. I get this error when trying to confirm payment. Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /home/xxxxxxx/public_html/xxxxxx/includes/application_top.php on line 144Fatal error: Cannot redeclare _sess_open() (previously declared in /home/xxxxxxx/public_html/xxxxxxxx/includes/functions/sessions.php:23) in /home/xxxxx/public_html/xxxxx/includes/functions/sessions.php on line 23 This is during the checkout payment screen. Any help would be most greatful. Quote Better to be looked over than overlooked! Link to comment Share on other sites More sharing options...
Guest Posted May 18, 2009 Share Posted May 18, 2009 Those messages suggest to me that application_top.php is being included / required more than once though I couldn't say why. The payoffline does nothing special on the checkout_payment screen compared to other payment modules Quote Link to comment Share on other sites More sharing options...
clrob11 Posted June 29, 2009 Share Posted June 29, 2009 (edited) Those messages suggest to me that application_top.php is being included / required more than once though I couldn't say why. The payoffline does nothing special on the checkout_payment screen compared to other payment modules Tom, Needle in a haystack I know but any idea which files I should be looking in? I have checked all the payment related files under catalog but could not find a call for application top twice in any file. Edited June 29, 2009 by clrob11 Quote Better to be looked over than overlooked! Link to comment Share on other sites More sharing options...
mhsuffolk Posted June 30, 2009 Share Posted June 30, 2009 Hi Tom I have Payoffline working and I have had my first real customer, and been paid! But I can not get the callbacks to have any effect in my admin area In test mode I get a 200 response OK message in the payoffline test area In the payoffline live screen the callback errors counter is at zero, I did a test purchase in the live system and let it expire so if the callbacks were failing the counter should be at 4 or 5 In addition the barcodes do not appear in the email, they appear everywhere else they should I am using RS2 My website is www.mhvideos.co.uk Your help would be much appreciated Martin Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2010 Share Posted March 7, 2010 Hi Tom, I've changed host and my barcodes are not working now :-( It doesn't show the barcodes on the Checkout_success.php or on the payofflinepro_payslip.php The email is showing the barcode number, but not the actual barcode. Regards, Tony 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.