Guest billmc Posted March 6, 2005 Share Posted March 6, 2005 File Name :: Direct Credit Gateway Mod Author :: billmc Category :: Gateways Description Also known as Bank Transfer. A mod to provide the customer with details so that payment to the shop's bank a/c number can be made. Written for the New Zealand banking system but the language files can be edited to suit.(A rewrite of the postal gateway) View File Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2005 Share Posted March 9, 2005 This works well. For a novice this was easy to add, the only error which occurred was my fault which was quickly rectified, and is exactly what was needed. Thanks for making this so easy. Regards, Fi ;) Link to comment Share on other sites More sharing options...
Guest AJNewtech Posted March 10, 2005 Share Posted March 10, 2005 Great mod This was my first attempt at adjusting / modifying anything We are based in Australia , therefore needed to change some text. Works perfectly Thankyou for your help Bill greatly appreciated. :D Link to comment Share on other sites More sharing options...
Guest kenrus56 Posted March 30, 2005 Share Posted March 30, 2005 Thanks, for a complete novice this was very easy to follow. Is there the same for paymate? :sourcerer: Link to comment Share on other sites More sharing options...
Guest julai Posted April 29, 2005 Share Posted April 29, 2005 hi, i get this error in confirmed_dc.php when i buy an item Warning: Cannot modify header information - headers already sent by (output started at /home/fashionc/public_html/confirmed_dc.php:2) in /home/fashionc/public_html/confirmed_dc.php on line 30 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/fashionc/public_html/confirmed_dc.php:2) in /home/fashionc/public_html/confirmed_dc.php on line 32 in this lines i view: 30 setcookie("ShoppingCart"); 31 session_start(); 32 include("admin/config.php"); 33 include( "admin/settings.inc.php"); 34 if($mail!=="Y") 35 { 36 include( "header.inc.php"); 37 echo"<tr><td valign=\"top\">"; 38 } pls i need help ummm.. also i receive other error: if a customer order por example 2 product en diferents order, the admin, only can view the last, or if 2 customer orders i only view the last because the no order is the same :) Link to comment Share on other sites More sharing options...
Guest billmc Posted May 1, 2005 Share Posted May 1, 2005 Hi julai, Can you do a test purchase using postal gateway and let us know the results. The logic of direct_credit is identical to postal but creates a different form and uses a diferent version of confirmed.php billmc Link to comment Share on other sites More sharing options...
Guest Posted May 26, 2005 Share Posted May 26, 2005 Hi there, I keep getting the following error 'document.SecureForm is null or not an object' This is the part that is highlighted in yellow in the debugger onLoad='document.SecureForm.submit();'> <form action ="search.php" method="post"> Can you help I think there's something wrong with the secure.php file but not sure what? The mail order option and all the others work fine. Regards Lorraine Link to comment Share on other sites More sharing options...
Guest billmc Posted May 27, 2005 Share Posted May 27, 2005 (edited) hi needful, I used to get that error and included a [continue] button instead of autosubmit as a workaround. booker posted a fix which worked. (to do with removing a tagging out a javascript line) the problem line is in header.inc.php not secure.php // used for secure.php to autosubmit form data if($url=="secure"){ echo"onLoad='document.SecureForm.submit();'"; } ?>> <form action ="search.php" method="post"> hth billmc Edited May 27, 2005 by billmc Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2005 Share Posted May 30, 2005 Hi Again, I'm totally lost here, I have tried searching for Booker's Fix but cannot find it, I'm definately getting out of my depth here. I would like to use your Mod as it is something NZ'ers are comfortable with. Regards Lorraine Link to comment Share on other sites More sharing options...
Guest rdlean Posted June 10, 2005 Share Posted June 10, 2005 Well i jsut tried this mod, and edited everything as i thought it needed to be done, and now when you select to 'check out' it sits on "Building order and transferring to checkout..." screen and doesnt go anywhere! :rolleyes: Link to comment Share on other sites More sharing options...
Guest twisted Posted July 3, 2005 Share Posted July 3, 2005 TO anybody using this mod...... This mod works as is from the installation instructions...except for one thing. It while create new orders with the same order numbers if you place multiple orders while still logged in on the same session. bill forgot an important piece of code that unregisters the session after the order process is complete. Using bills instructions exactly as stated, the only change you need to make is to add the following code IMMEDIATELY before the last ?> in confirmed_dc.php // attempted worldpay and percieved authorize.net duplicate order_id's problem if(($gateway=="Authorize")||($gateway=="WorldPay")) Â Â Â Â { Â Â Â Â Â Â Â Â session_destroy(); Â Â Â Â } else{ Â Â Â Â Â Â Â Â session_unregister("cart_order_id"); Â Â Â Â } Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2005 Share Posted July 4, 2005 thanx for that twisted. didn't even notice. cheers Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2005 Share Posted July 4, 2005 yep.. its working now... twisted was right... :) Link to comment Share on other sites More sharing options...
Guest F.N Posted July 5, 2005 Share Posted July 5, 2005 Is this compatible with v3? Link to comment Share on other sites More sharing options...
Guest Posted July 5, 2005 Share Posted July 5, 2005 v3 already has this mod included Under the "postal order form" gateway. Configure the settings to show your bank account details from the cc3 admin section. Link to comment Share on other sites More sharing options...
Guest F.N Posted July 6, 2005 Share Posted July 6, 2005 Even better! Cheers! Link to comment Share on other sites More sharing options...
Guest Posted August 18, 2005 Share Posted August 18, 2005 v3 already has this mod included Under the "postal order form" gateway. Configure the settings to show your bank account details from the cc3 admin section. Hi, I can`t find the "Postal order Form" in the gateways. Link to comment Share on other sites More sharing options...
Guest Posted August 18, 2005 Share Posted August 18, 2005 v3 already has this mod included Under the "postal order form" gateway. Configure the settings to show your bank account details from the cc3 admin section. Hi, I can`t find the "Postal order Form" in the gateways. Are you running v2 or v3? Link to comment Share on other sites More sharing options...
Recommended Posts