keikor Posted October 21, 2005 Share Posted October 21, 2005 Hi all, I am using the 2checkout module in 2.2. The first 2checkout form appears in the checkout_payment.php as this:- 2CheckOut Credit Card Owner First Name: Credit Card Owner Last Name: Credit Card Number: Credit Card Expiry Date: JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember 2005200620072008200920102011201220132014 Credit Card Checknumber: (located at the back of the credit card) Ok, lets say i enter this credit card details, (and i am not using a ssl cert, which i dont plan to get one), and then it redirects to 2checkout payment form again. So what should i do to exclude the form in the page, so that customers will only redirect to the secure 2checkout payment page only? THanks! Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted October 21, 2005 Share Posted October 21, 2005 You'll have to modify the 2CO payment module. At a minimum, these three functions to look like below: function javascript_validation() { return false; } function selection() { return array('id' => $this->code, 'module' => $this->title); } function pre_confirmation_check() { return true; } You'll probably have to do more, but those three functions will get you past the payment page. Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
kozen Posted June 13, 2006 Share Posted June 13, 2006 You also need to change: catalog/includes/modules/payment/pm2checkout.php function confirmation() { //to prevent the cc input stuff to appear! return NULL; } I do also suggest to change: catalog/includes/languages/english/modules/payment/pm2checkout.php define('MODULE_PAYMENT_2CHECKOUT_TEXT_TITLE', '2CheckOut - Credit Card Payment'); //more information on the payment method If you are using multiple languages you need to change this for all you are using. Quote Link to comment Share on other sites More sharing options...
kozuch Posted August 8, 2006 Share Posted August 8, 2006 Try contribution called "Simplyfied 2checkout fix" which fixes this. 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.
Note: Your post will require moderator approval before it will be visible.