osc_user50 Posted April 19, 2011 Share Posted April 19, 2011 Hello everyone, I want to setup visual code verify with paypal express checkout. in my shopping_cart.php i put the first part of the vvc code and displayed the vvc image and input text box. Now, my problem is how to integrate the vcc with paypal express checkout. In the admin(whenever paypal express checkout is chosen as the payment module), it will display the paypal logo with link to ../express.php. What I would like to achive is when buyer will click on the paypal checkout button, with the text input from vcc, it will check if vcc text match or not. If not, then will not continue the checkout process, and get back to the shopping cart. I need some guidance, in a newbie perspective. I am also new to html and php. Thanks in advance, Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 19, 2011 Share Posted April 19, 2011 (edited) You can't do it like that. You would have to make the paypal button a submit button for a form you create, check the code in that form and then send the result to paypal if the vcc is valid. That's a lot of effort for no gain, that I can see. An auto-script couldn't get past the paypal button anyway but even if they could, who cares? They would end up at paypal and be under their security system. But maybe I am not understanding your reasons. Edited April 19, 2011 by Jack_mcs Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
osc_user50 Posted April 19, 2011 Author Share Posted April 19, 2011 You can't do it like that. You would have to make the paypal button a submit button for a form you create, check the code in that form and then send the result to paypal if the vcc is valid. That's a lot of effort for no gain, that I can see. An auto-script couldn't get past the paypal button anyway but even if they could, who cares? They would end up at paypal and be under their security system. But maybe I am not understanding your reasons. Ok, I see your point. I just want to have double security, something like 1st layer is the vvc,then 2nd layer is paypal. Anyway, I will proceed to testing the checkout process with paypal, just need to check this last time. Last thing, just a possibilty though, how can I capture the inputted text? and pass to another form say "testform.php"? As I understand this line display the input box, "echo tep_draw_input_field('visual_verify_code'). ' '. '<span class="inputRequirement"> and so on. How can I capture or read the text inputted? can you give me some guidance or outline, in a newbie, totally not knowing html codes. I will then research what will be the exact syntax. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 19, 2011 Share Posted April 19, 2011 I don't recommend using the vcc contribution. Googles recaptcha is easy to setup and works better in general, in my opinion. But for either one, the code returns a true or false condition, depending upon if the code was entered was correct or not. You just have to test for that condition. You wouldn't pass that to a form, it is the form. You can look at how the contact us form is written to model your code. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons 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.