varnco Posted June 11, 2004 Share Posted June 11, 2004 I'm really confussed.... as this week, for the first time I recevied a payment and no order.. I am still on the "old" servers, as far as I can tell. So, for the redirect, what IS the correct URL? Is it this: http://www.mydomain.com/catalog/checkout_success.php? or http://www.mydomain.com/catalog/checkout_process.php? Also, theres an option for "direct return".... do I set this to yes or no? These parameters affect all three payment routines above. Direct Return: NoYes Set to Yes if you want the 2Checkout.com payment routines to immediately pass control back to the urls above after a credit card is successfully processed. The passback will occur WITHOUT stopping at a 2Checkout.com order confirmation page. I've gone over and over with this, can can't figure it out to save my life. Link to comment Share on other sites More sharing options...
Guest Posted June 13, 2004 Share Posted June 13, 2004 Yay! Thanks RicherD. All seems to be working now. Link to comment Share on other sites More sharing options...
jhdesign Posted June 15, 2004 Share Posted June 15, 2004 I know with 2CO when in test mode you can put in fake #'s for CC and it works. But with test mode on thru 2CO admin if I enter a fake cc# it gives me an error. So is this test mode really working? Help is appreciated. Link to comment Share on other sites More sharing options...
Guest Posted June 17, 2004 Share Posted June 17, 2004 I just got a response from 2CO about upgrading older customers: Hello, We will give you advance notice prior to your roll-over to the new operating version. The June Newsletter (coming out within the next few days) would inform you not to expect to roll-over until September as we are still working on "must haves" and "must fixes" to keep any inconvenience to our Version 1 vendors to a minimum. Expect an email prior to the roll-over giving you your target effective date. We have taken cart changes into considering and any needed changes should be able to be enacted in the time period allowed. I would wait until your account changes and then upgrade your osCommerce module unless the new osCommerce module would work on both systems (they should be able to tell you that and please let us know and we'll add it to our knowledgebase to assist others who will undoubtedly ask the same question). Has anyone tested the new module with an old account? ;) Link to comment Share on other sites More sharing options...
GIZMO-XL Posted June 18, 2004 Share Posted June 18, 2004 I'm really confussed.... as this week, for the first time I recevied a payment and no order.. I am still on the "old" servers, as far as I can tell. So, for the redirect, what IS the correct URL? Is it this: http://www.mydomain.com/catalog/checkout_success.php? or http://www.mydomain.com/catalog/checkout_process.php? Also, theres an option for "direct return".... do I set this to yes or no? These parameters affect all three payment routines above.? Direct Return:? NoYes? Set to Yes if you want the 2Checkout.com payment routines to immediately pass control back to the urls above after a credit card is successfully processed. The passback will occur WITHOUT stopping at a 2Checkout.com order confirmation page.? I've gone over and over with this, can can't figure it out to save my life. The reason you do not have the order on your OSC database is because the customer did not completed the order by clicking on the finish button after making his payment. This is when the old system returns you to your site and the order gets logged if they fail to do this the payment is made and you have no order on file. I am currently working on a way to log these orders before the process takes place. Note: also if you turn on the MD5 hash it will auto return to your site and the customer will not have to click in the finish button. This will make this problem go away completely. Link to comment Share on other sites More sharing options...
jdessel Posted June 18, 2004 Share Posted June 18, 2004 I'm having problems with this 2CO module too. When I have it set to autoreturn ON, it doesn't work. When I have it set to autoreturn OFF, and I place an order and click the "Finalize My Order" button, I'm returned to the proper confirmation page on my website but the order information is still not getting passed back. Does anyone have any ideas what could be wrong? I checked all the code in the pm2checkout modules as listed on page 9 and I found that the code had my return url's listed as https when they should have been http... I don't have a secure server, I don't know how that happened. Anyway after fixing the code it made no difference. I still can't get my orders to appear in my system even with the autoreturn off, and the correct return url's working with the Finalize button. I asked 2CO and they said it really wasn't their problem, they didn't write the script. I have a brand new account, about 2 weeks old. Link to comment Share on other sites More sharing options...
jdessel Posted June 19, 2004 Share Posted June 19, 2004 I found a workaround for the time being... actually it was posted elsewhere here so I can't take credit but I found that it solves the issue of not having access to customers' orders. If you create a master password (you can find instructions here), you can log into any customer's account using their email address and then view their cart. The order should still be in their cart, since the information never got passed back to complete the checkout process on your OSC side. So 2CheckOut should be sending you receipts (as long as that's working properly for you) for the payment and then you can just lookup what was purchased. This finally helped me, because I find I'm losing orders with customers abandoning their carts once they find out all I offer is PayPal. Hopefully I can finally use the 2CO account. Hope this helps someone. Link to comment Share on other sites More sharing options...
karlCR Posted June 20, 2004 Share Posted June 20, 2004 bump Link to comment Share on other sites More sharing options...
GIZMO-XL Posted June 23, 2004 Share Posted June 23, 2004 I'm having problems with this 2CO module too. When I have it set to autoreturn ON, it doesn't work. When I have it set to autoreturn OFF, and I place an order and click the "Finalize My Order" button, I'm returned to the proper confirmation page on my website but the order information is still not getting passed back. Does anyone have any ideas what could be wrong? I checked all the code in the pm2checkout modules as listed on page 9 and I found that the code had my return url's listed as https when they should have been http... I don't have a secure server, I don't know how that happened. Anyway after fixing the code it made no difference. I still can't get my orders to appear in my system even with the autoreturn off, and the correct return url's working with the Finalize button. I asked 2CO and they said it really wasn't their problem, they didn't write the script. I have a brand new account, about 2 weeks old. on the code on page 9 change the following tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_2CHECKOUT_TEXT_ERROR_HASH_MESSAGE), 'SSL', true, false)); to tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_2CHECKOUT_TEXT_ERROR_HASH_MESSAGE), 'NONSSL', true, false)); this will return it to a none secure URL Link to comment Share on other sites More sharing options...
jhdesign Posted June 28, 2004 Share Posted June 28, 2004 I get this error after an order process (and thus doesnt go back to OSC for completion) Warning: Variable passed to each() is not an array or object in /home/spycamg/public_html/checkout_process.php on line 40 Warning: Variable passed to each() is not an array or object in /home/spycamg/public_html/checkout_process.php on line 41 1054 - Unknown column 'shipping_cost' in 'field list' insert into orders (customers_id, customers_name, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, date_purchased, shipping_cost, shipping_method, orders_status, comments, currency, currency_value) values ('', ' ', '', '', '', '', '', '', '', '', '1', ' ', '', '', '', '', '', '', '1', '', '', '', '', '', now(), '', '', '1', '', 'USD', '1.00000000') [TEP STOP] Any ideas? Link to comment Share on other sites More sharing options...
COsborne Posted June 29, 2004 Share Posted June 29, 2004 I've been exchanging emails with tony, keith and lately, the head of customer relations. They're quite aware of how unhappy I am with the situation and I believe we can finally get something done. Tony says the solution is to use get and post as opposed to just Get. Get will only get you the oscid that your cart adds on. Post will get you all the parameters that come from 2checkout. foreach ($_GET as $key => $val) { print "<input type=\"hidden\" name=\"$key\" value=\"$val\">\n"; } foreach ($_POST as $key => $val) { print "<input type=\"hidden\" name=\"$key\" value=\"$val\">\n"; } I haven't had much time to mess with it but he claims it should work. Someone give it a shot if I don't get to it first. Link to comment Share on other sites More sharing options...
COsborne Posted June 29, 2004 Share Posted June 29, 2004 btw, that was in regards to the 2coprocess.php file suggested. Link to comment Share on other sites More sharing options...
mark754 Posted June 30, 2004 Share Posted June 30, 2004 I'm looking for a credit card gateway and like 2CO's rates. But after skimming through this thread, I'm having second thoughts. So, can 2CO actually be configured to work properly with OSC (and be fairly seamless and without the need for manual processing of each order), or is it not worth the hassle? Has anyone here actually set it up successfully? Link to comment Share on other sites More sharing options...
GIZMO-XL Posted June 30, 2004 Share Posted June 30, 2004 btw, that was in regards to the 2coprocess.php file suggested. I don't think we want to go down this path because it is not the correct way to fix the problem and if they get this working this screwed up way they may not fix it the correct way. We need to make sure we keep 2CO on the path of the correct long term fix. Just my thoughts Link to comment Share on other sites More sharing options...
tkeats Posted July 1, 2004 Share Posted July 1, 2004 I am still trying to get some of this to work... I am still however, on page 8 or 9 at this writing (in this thread) and I think I might have found something Everyone seems to be processing to purchase.2c or /purchase... I found the following on 2co's website.. Shopping Cart Payment Routine SpecificationsThis page covers the specifications for the cart payment routine on the 2Checkout.com system. It is provided for clients that want to use their own shopping cart or other specialized program and have sufficient knowledge to code the procedures. If you have the 2Checkout.com free shopping cart you do not need to concern yourself with this specification, it is handled automatically. Payment Routine: https://www.2checkout.com/cgi-bin/sbuyers/cartpurchase.2c The following parameters must be passed from your shopping cart or other program to cartpurchase.2c. sid - your 2Checkout.com account number total - total amount to be billed (in decimal form with no dollar sign) cart_order_id - unique order id from your cart or other program Example: https://www.2checkout.com/cgi-bin/sbuyers/c...rder_id=1234567 The following parameters can be passed in and will be passed back to your routine. Optionally a confirmation email with your order number and ours will be sent to you and the buyer when the credit card transaction is approved. order_number - 2Checkout.com order number card_holder_name - Card holders name street_address - Card holders address city- Card holders address state - Card holders address zip - Card holders address country - Card holders address email - Card holders email phone- Card holders phone number cart_order_id - Your order number passed back cart_id - Your order number passed back (same as cart_order_id) credit_card_processed - "Y" if successful total - Total billed to credit card after handling charges if any ship_name - Shipping Info ship_street_address - Shipping Info ship_city - Shipping Info ship_state - Shipping Info ship_zip - Shipping Info ship_country - Shipping Info Make sure and set up your Cart/Program Details in our database. If you wish to take down a separate shipping and billing address you must indicate it here Shipping Details. You should send your customer a sales confirmation email containing the details of what was ordered. The confirmation email should contain the follow text: Charges for the transaction will appear on your credit card statement under the name 2Checkout.com. Questions regarding your order should be directed to: Your Company www.yourcompany.com [email protected] If you have problems with the order and "Your Company" cannot help you, contact [email protected]. Credit card payment services provided by www.2checkout.com yet another processing file to call? https://www.2checkout.com/cgi-bin/sbuyers/cartpurchase.2c ? Now... back to reading this endless thread to see if there was another fix.. ;) Thomas RainbowComputers.ca A signature is something that reflects its user. - The dictionary The question is not, 'to code, or not to code' the question is, 'if we do not code, are we really alive?' -- anonymous Link to comment Share on other sites More sharing options...
tkeats Posted July 1, 2004 Share Posted July 1, 2004 I just got it working, using the old method... without having forced the return_to. I guess I must still be on the old system? (I had to reset a couple variables... I wasnt born in 2002 after all.. LOL) Thinking something got corrupted in their upgrading ppl. :/ Thomas RainbowComputers.ca A signature is something that reflects its user. - The dictionary The question is not, 'to code, or not to code' the question is, 'if we do not code, are we really alive?' -- anonymous Link to comment Share on other sites More sharing options...
bnn121 Posted July 2, 2004 Share Posted July 2, 2004 I too would like to no if this has been getting any attention from 2checkout...as I have just opened a new accoutn with them and plan on using htis script. Link to comment Share on other sites More sharing options...
mark754 Posted July 2, 2004 Share Posted July 2, 2004 Well, after trying unsuccessfully to setup 2CO on my site, I found a programmer through scriptlance who set it up right and now it works flawlessly. He was aware of the passback problem due to the missing script in the new version of 2CO and fixed it right away. Link to comment Share on other sites More sharing options...
GIZMO-XL Posted July 3, 2004 Share Posted July 3, 2004 Well, after trying unsuccessfully to setup 2CO on my site, I found a programmer through scriptlance who set it up right and now it works flawlessly. He was aware of the passback problem due to the missing script in the new version of 2CO and fixed it right away. Please provide the fix for the rest of us. Link to comment Share on other sites More sharing options...
mark754 Posted July 3, 2004 Share Posted July 3, 2004 Well, after trying unsuccessfully to setup 2CO on my site, I found a programmer through scriptlance who set it up right and now it works flawlessly. He was aware of the passback problem due to the missing script in the new version of 2CO and fixed it right away. Please provide the fix for the rest of us. which files would the fixes be in? Link to comment Share on other sites More sharing options...
bnn121 Posted July 3, 2004 Share Posted July 3, 2004 ^^^^^ BUMP ^^^^ I'd like to see more information on resolving these issues. Thanks Link to comment Share on other sites More sharing options...
surfking Posted July 7, 2004 Share Posted July 7, 2004 Ok, after running about 50 one cent charges to my credit card I am starting to go nuts. I understand on page 9 there was some good information, however its not working for me. Here is what I did, please help: Keep in mind I am running on a non-secure site so the checkout page is not secure until 2checkout - I am running OSC 2.2MS2 and just signed up for 2CO I installed the latest PM2Checkout contribution I then overwrote the PM2checkout and PM2checkout_process files with the information on page 9 I didn't write anything for the hash or secret word because for some reason I see 2 blank boxes and no wording describing what they are Once I attempt to checkout everything goes fine until I click to confirm the order, then it says page cannot be displayed and charges the card. However it doesn't take me anywhere. Any help would be greatly appreciated. Or else a detailed list of everything to do if you just created a 2CO Account and have a new install of OSC installed. Thanks Link to comment Share on other sites More sharing options...
tkeats Posted July 14, 2004 Share Posted July 14, 2004 If someone with a 'new' type account in 2checkout.com wants to grant me access for a short time, I'd be willing to play with this, I have some idea's however it seems to me it might be hard to explain. I've mentioned it and no one has seemed to reply to it and so I make this offer.... Give me 48 hours to play with your account in demo mode, and I will run a osC on my own server to play with getting it to work.. Thomas A signature is something that reflects its user. - The dictionary The question is not, 'to code, or not to code' the question is, 'if we do not code, are we really alive?' -- anonymous Link to comment Share on other sites More sharing options...
COsborne Posted July 15, 2004 Share Posted July 15, 2004 I'm sure someone will let ya... tech support sure wasnt any help to me Link to comment Share on other sites More sharing options...
Parikesit Posted July 27, 2004 Share Posted July 27, 2004 I got this from 2CO website 2Checkout This Article was added on Mon, 06/14/04 10:44 Question: Why doesn't 2CO return to my site when I am using OS Commerce? Answer: OSC is working with V2 of our system. In order for OSC to to work correctly, the following conditions must be met: 1. You must pass in the x_Receipt_Link_URL parameter with the URL you want the customer to be passed back to at the end of the sale. 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. 3. You must have direct return set to "Off" on the Look & Feel page of your 2CO vendor admin panel. 2CheckOut does not provide support for third party scripts including OSC. For assistance with OSC, please refer to OSC's support forums at the following URL: http://www.oscommerce.com/forums. 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...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.