Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to Integrate VCC(visual verify code) with Paypal exress checkout


osc_user50

Recommended Posts

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,

Link to comment
Share on other sites

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 by Jack_mcs

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

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.

Link to comment
Share on other sites

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.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...