Parikesit Posted July 27, 2004 Share Posted July 27, 2004 2. The domain you have on your 2CO account must exactly match the domain used in the parameter above for passback or it will not work. This could be the error for user who use shared SSL :ph34r: Parikesit recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 30, 2004 Share Posted July 30, 2004 Hi, well I just finished read this whole entire forum from top to tail today and wanted to know soemthing.... Do we really need to activate the MD5 Hash.... and also do we really need SSL.... what if you don't have SSL.... I also wanted to know how to install a self signed Certificate on my site, please can someone help me learn how to install the self signed certificate for testing before buying a real one.... Well I installed the new pm2checkout module and it works great. For everyone on the new system, it works perfectly... If not installed.... you get stuck at the 2CO order page and it doesn't tell the admin what order you places which sucks..... Well, thanks again for those who contributed to this great script and I hope to see a release soon.... PS: don't forget to tell me how to install a certificate on my server.... :) Best Reagrds Olajide Olaolorun Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 31, 2004 Share Posted July 31, 2004 Please I also want to know, if I didn't ask.... do I need to enter my products into 2CO also or not.... because it is already tiring to add it to OSC and now to add it to 2CO.... well that is just crazy... :D :) Best Reagrds Olajide Olaolorun Link to comment Share on other sites More sharing options...
Parikesit Posted July 31, 2004 Share Posted July 31, 2004 do I need to enter my products into 2CO also or not.... No, you don't have to Parikesit recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
mscalis3 Posted July 31, 2004 Share Posted July 31, 2004 I've been having troubles with not receiving sales e-mails from 2checkout or oscommerce when a demo order was placed. I am on the old system, and I thought that maybe by being moved to the new system and installing the new 2checkout payment module, that might fix the problem. I heard 2checkout was going to switch the old users over, so I e-mailed them and asked if they could move me over now (since my business isn't really operating now anyway and it would save me from having to wait) In case anyone cares, here was their response. Anyone know exactly when this switch over is going to happen? because I don't feel like going through all this crap if it's going to automatically switch over soon. ----- You can signup for an account in V2 if you wish. In order to do so, please use the URL below. You will need to pay the $49 fee again. Once you have the new seller ID number in V2, reopen this ticket and provide me with both your V1 and V2 seller IDs. Note that we will have to cancel and refund ALL sales in your V1 account if any, and your V1 account will be closed. We will then refund the $49 you paid for the V2 account since you already paid for the V1 and then close the V1 account. If you want to keep both accounts open concurently, we will not refund the $49 setup fee. You may wish to do this if you have sales in V1 that you dont want to lose. When everything is rolled over, you will then have TWO V2 accounts - the one you are signing up for now and the V1 account which will become another V2 account. ----- ...I wish my cart/CC processing just worked right...I guess I'll have to see once I get on the new system Link to comment Share on other sites More sharing options...
COsborne Posted August 3, 2004 Share Posted August 3, 2004 2checkout is the worst company I have ever had to deal with in my life. They refuse to refund my money even though they said 2co would work with osc. They gave no indication that a new version was implemented. I've setup OSC to work with it 6 times or so and they keep changing things. It has caused multiple dup orders resulting in $46 in charges. I also referred their tech support to this thread. Tech support and the VP of customer relations refuse to call back or deal with the problem. Their infrastructure is pathetic and I strongly discourage anyone from going with 2CO. I will be contacting the better business bureau about them this week and finding a new processing company. Link to comment Share on other sites More sharing options...
Parikesit Posted August 3, 2004 Share Posted August 3, 2004 :angry: What I have to say... Some of 2CO tutorial/faq is old crack and useless. Anyway, I have make an order succesfuly directly to checkout_process.php after some test. But still not use MD5 :huh: I notice that below $_GET not works..., as suggested by 2CO support foreach ($_GET as $key => $val) { echo $key . ' = ' . $val . "\n" . '<br />'; } Here the right one... foreach ($HTTP_POST_VARS as $key => $val) { echo $key . ' = ' . $val . "\n" . '<br />'; } And here parameters passback to our site: We get this paramaters both using "direct return" or "not". NO MORE NO LESS x_login = 123456 // vendor id or our 2CO idx_Login = 123456 x_amount = 45 // total order x_invoice_num = 00001 // cart ID we suply order_number = 1434471530 // 2CO transaction id x_trans_id = 1434471530 x_2checked = Y x_response_code = 1 conditions = 1 demo = Y //Y or N comments = Please deliver my order A.S.A.P x_address = Washington Street 76 x_Address = Washington Street 76 x_city = Jakarta x_City = Jakarta x_State = DKI x_state = DKI x_country = Indonesia x_Country = Indonesia x_Zip = 40000 x_zip = 40000 x_Ship_To_Address = Washington Street 76 x_Ship_To_City = Jakarta x_Ship_To_State = DKI x_Ship_To_Country = Indonesia x_Ship_To_Zip = 40000 x_email = [email protected] x_Email = [email protected] x_Phone = 062-5000000 x_phone = 062-5000000 x_MD5_Hash = AAABBBCCCDDDEEEGGG189HHH09876950 tcoid = 12345abcd12345abcd12345abcd12345 Some hope, Parikesit recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
Parikesit Posted August 4, 2004 Share Posted August 4, 2004 Can some one explain what below parameters mean: x_2checked = Y x_response_code = 1 conditions = 1 tcoid = 12345abcd12345abcd12345abcd12345 Parikesit recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
Parikesit Posted August 5, 2004 Share Posted August 5, 2004 Hi all, Here the new MD5 has configuration from 2CO support: Reply:The MD5 hash is created as follows. md5 ( secret word + vendor number + order number + total ) Example: Secret Word => tango Vendor Number => 123456 Order Number => 9999999 Total => 5.99 key = md5( tango12345699999995.99 ) Changing the entire string to uppercase will allow for a cleaner comparison. uppercase( key ) Please do NOT do the following, it is incorrect. md5 ( secret word + vendor number + vendor number-order number + total ) -- Thank you, Billy Tech Support Representative www.2co.com Parikesit recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
Parikesit Posted August 5, 2004 Share Posted August 5, 2004 Reply:If you are running transactions in demo mode (Demo=Y) the order number used to create the hash is forced to 1. This is only in demo mode but it may explain the problem you are experiencing. x_2checked = just means returned from 2co x_response_code = deprecated value : useless conditions = deprecated value : useless tcoid = session value for 2co -- Thank You, Matthew www.2checkout.com recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
SavageSinister Posted August 10, 2004 Share Posted August 10, 2004 Here is all the info for the 2CO contribution that I have working on my site. I use ipowerweb for my hosting so keep in mind that I'm sharing a SSL. I'm not sure why this works all I know is that it does. I know one of the problems I was having is I had 2CO set up with the wrong URLS. I hope this helps someone! After months of going round-and-round with a client's 2CO v2 store, fixing, hacking, tweaking and trying different things that would seem to work, then wouldn't, can I just say THANK YOU THANK YOU THANK YOU for posting something that worked like a charm. I'd tried the previous post of the pm2checkout.php code only to find that it perpetually claimed to be in "demo" mode no matter what. Your version eliminated that problem. So, anyway, your posted solution works great, and I wanted to let you know that at least one person has benefitted mightily from it! Link to comment Share on other sites More sharing options...
Guest Posted August 14, 2004 Share Posted August 14, 2004 Hi all, I have a live store using 2Checkout (http://www.PostersJust4u.com) but I can't make it work with Direct Return. Currently my customers must press the 'FINISH ORDER' button in order to add the order to the DB and of course a lot of times they forget. I know the workarounds, but as I would like to join Shareasale and other affiliates programs, I must make sure that every order it getting registered. Please note that I'm using the old version of 2Checkout (V1). I also use the module that lets the customer enter her CC details on 2Checktou's secure webpage. When I switch the Direct Return to ON, I simply get a Login Request page of my store, with no pictures available (I guess that's because I must have full paths as stated on 2Co's FAQ). If anyone can help me have the Direct Return feature ON, I'd be very thankful, especially now that my store is live. Thanks in advance for your help. Eyal Link to comment Share on other sites More sharing options...
Guest Posted August 14, 2004 Share Posted August 14, 2004 well, I just found a workaround on the forum, I created a 2coprocess.php file which acts as a 'proxy' between 2checkout system and my site. Thanks :) Link to comment Share on other sites More sharing options...
walkerwebs Posted August 15, 2004 Share Posted August 15, 2004 Does anyone know which other payment module works well with OS? Thanks, Tammy Link to comment Share on other sites More sharing options...
Morb Posted August 22, 2004 Share Posted August 22, 2004 Ok, so being a complete newb to this... Could someone please explain (or even upload the correct mod) to get everything working? I'd love to do it myself, but I'm just in the beginning stages of understanding most of the coding. Geof. www.smoothair.ca Link to comment Share on other sites More sharing options...
Morb Posted August 24, 2004 Share Posted August 24, 2004 Well, I got it working, and added the files as a contrib based on the coding from page 9 from Netabove Thank you very much for this. I sort of rushed and threw the contrib up, but if somone wants to use it, the really need to read Page 9 of this thread. I'll zip up the entire code, and chuck it up again. Thanks again Netabove. Geof. Link to comment Share on other sites More sharing options...
dr_lucas Posted September 13, 2004 Share Posted September 13, 2004 I am using Version 1 of 2checkout. I installed the latest pm2checkout contribution on OSC2 MS2 and have my own SSL certificate. Setup as followed: 1) uploaded the 3 files 2) edited pm2checkout_process.php to have my https://www.MYSITE.com/checkout_process.php (my catalog directory is in the root, not /catalog/) 3) uploaded the 2 pm2checkout.php files to their respective directories 4) edited the pm2checkout.php so that it will work on 2checkout version 1 URL instead of the version 2 URL that was setup: $this->form_action_url = 'https://www.2checkout.com/cgi-bin/Abuyers/purchase.2c'; // $this->form_action_url = 'https://www2.2checkout.com/2co/buyer/purchase'; 5) Installed the module in the admin with the following settings: Enable 2CheckOut Module True Login/Store Number (MY ID NUMBER) Transaction Mode Production Merchant Notifications True Payment Zone --none-- Set Order Status default Sort order of display. 0 Check MD5 hash True Secret Word tango 6) Went to my 2co admin (VERSION 1), clicked the Account Details -> Return 7) Scrolled down to "cartpurchase.2c Passback Parameters." and edited: Return to a routine on your site after credit card processed?: YES URL: https://www.MYSITE.com/pm2checkout_process.php Return to a routine on your site after check processed?: YES URL: https://www.MYSITE.com/pm2checkout_process.php Scrolled down to Overall Passback Parameters. Direct Return: NO Secret Word: tango (match the admin secret word) 8) Placed a live order using my own credit card. After I clicked the "Finish" I was redirected to pm2checkout_process.php which was suppose to redirect me to http://www.MYSITE.com/checkout_process.php and I ended up in http://www.skpiercing.com/checkout_shipping.php with my order billed, but not registered in OSC and the cart not emptied. Tried to go back to to the 2co admin and changed the: Scrolled down to Overall Passback Parameters. Direct Return: YES <------ Only changed this, in order to get rid of the Finish button. Secret Word: tango (match the admin secret word) This change DID remove the FINISH page and redirected me automatically to pm2checkout_process.php -> http://www.MYSITE.com/checkout_process.php which redirected me to pm2checkout_process.phphttp://www.skpiercing.com/checkout_shipping.php but although the order was billed again, it was still not registered and the cart not emptied. After reviewing all the above steps, my questions are: a) Am I doing something wrong here? b-) Why does pm2checkout_process.php redirect to http://www.MYSITE.com/checkout_process.php? Isn't it suppose to redirect to checkout_success.php? Thanks A LOT in advance! Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Link to comment Share on other sites More sharing options...
Morb Posted September 13, 2004 Share Posted September 13, 2004 Turn Direct Return Off. :) 2checkout did a hack of sorts for us OS Commerce users, to do this, because their autoreturn coding doesn't redirect to your page. Don't ask me, they're screwy. Geof. www.smoothair.ca Link to comment Share on other sites More sharing options...
dr_lucas Posted September 13, 2004 Share Posted September 13, 2004 Turn Direct Return Off. :) 2checkout did a hack of sorts for us OS Commerce users, to do this, because their autoreturn coding doesn't redirect to your page. Don't ask me, they're screwy. Geof. www.smoothair.ca Thanks for the reply.:) As I wrote in my post - I did try with Direct Return Off. This only add the FINISH page, but after clicking finish and being redirected to my site, the cart is still not emptied and the order not registered...any idea why? Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Link to comment Share on other sites More sharing options...
ab4276 Posted September 16, 2004 Share Posted September 16, 2004 I'm not sure if this is the correct area for this question, but I d/led a contribution to remove the form for a customer to input information when paying with 2checkout since I am not running a secure server. I need to have them input thier info in 2checkout not on my site, after installing the latest contribution pm2checkout (2checkout_1_2_3 i think) the form is still showing up, any ideas why? I replaced the files that came with the contribution. It sounds like there is alot of problems getting 2Checkout to work correctly, I'm still in my 30days, would anyone recommed another processor that doesn't charge a monthly fee? Link to comment Share on other sites More sharing options...
Keith2CO Posted September 21, 2004 Share Posted September 21, 2004 Thanks for the reply.:)As I wrote in my post - I did try with Direct Return Off. This only add the FINISH page, but after clicking finish and being redirected to my site, the cart is still not emptied and the order not registered...any idea why? <{POST_SNAPBACK}> I assume you are a V2 vendor. If not, ignore this. Open your pm2heckout.php file in /catalog/includes/modules/payment and look for a section called "$process_button_string". After that, you'll see numerious lines (should all be indented) that create the passback button string. One of the lines should be the below: tep_draw_hidden_field('x_receipt_link_url', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) . If it isnt there, try adding it in. Then go onto the look and feel page and put the URL below into both the pending and approved URL boxes. Note that this must be the same URL as is shown on your 2CO account. http://www.your-domain.com/catalog/checkout_process.php If it works, great. If not, try updating to the most recent release of the payment module. There are so many different versions of the module going around that it is impossible to know which one you have. Keith 2CheckOut.com, Inc. Product Support Group www.2checkout.com , www.2co.com 2CO Knowledge Base: http://support.2co.com/deskpro/faq.php Note: 2CO posts on this forum only as a courtesy to our vendors. There is no guarantee that your reply will be read by a 2CO staff member, and you might not get a response. If you need help, please submit a trouble ticket to our support department. Link to comment Share on other sites More sharing options...
dr_lucas Posted September 22, 2004 Share Posted September 22, 2004 I assume you are a V2 vendor. If not, ignore this. <{POST_SNAPBACK}> Hi Keith, thank you for your response. If you look 4 posts above yours you will see that my first sentence was: I am using Version 1 of 2checkout. Is there a way to make it work well with version 1? Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Link to comment Share on other sites More sharing options...
Keith2CO Posted September 22, 2004 Share Posted September 22, 2004 What is your vendor ID number, dr_lucas? Keith 2CheckOut.com, Inc. Product Support Group www.2checkout.com , www.2co.com 2CO Knowledge Base: http://support.2co.com/deskpro/faq.php Note: 2CO posts on this forum only as a courtesy to our vendors. There is no guarantee that your reply will be read by a 2CO staff member, and you might not get a response. If you need help, please submit a trouble ticket to our support department. Link to comment Share on other sites More sharing options...
dr_lucas Posted September 23, 2004 Share Posted September 23, 2004 What is your vendor ID number, dr_lucas? <{POST_SNAPBACK}> Check your PM, Keith. Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Link to comment Share on other sites More sharing options...
Keith2CO Posted September 24, 2004 Share Posted September 24, 2004 In your 2CO account, goto Account Details and then to Return and set the last return URL setting to YES and leave the URL you have in there as it is. Then save the changes and see if this helps. Keith 2CheckOut.com, Inc. Product Support Group www.2checkout.com , www.2co.com 2CO Knowledge Base: http://support.2co.com/deskpro/faq.php Note: 2CO posts on this forum only as a courtesy to our vendors. There is no guarantee that your reply will be read by a 2CO staff member, and you might not get a response. If you need help, please submit a trouble ticket to our support department. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.