Please,how to place an active reCaptcha code into your cart?

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Please,how to place an active reCaptcha code into your cart?

Postby eumedia » Mon May 11, 2015 9:46 am

Nice day,
Please, how to place an active reCaptcha code into your cart?
(illustration on the attached picture)
Thank you
Roman
Attachments
reCAPTCHA2.jpg
reCAPTCHA2.jpg (94.95 KiB) Viewed 6852 times
reCAPTCHA1.jpg
reCAPTCHA1.jpg (56.28 KiB) Viewed 6852 times
eumedia
 
Posts: 7
Joined: Mon May 11, 2015 9:31 am

Re: Please,how to place an active reCaptcha code into your cart?

Postby admin » Mon May 11, 2015 3:08 pm

hello, if your captcha plugin is written in a joomla's core captcha way, so it uses the same event triggers to draw and check captcha, you only need to enable this option here:
http://snag.gy/cg8xu.jpg

if your captcha uses it's own logic to render it's inputs, and it's not similar to the most used plugins around (joo recaptcha or key captcha), it may need to get modified to run on opc's pages, or opc needs to get modified to print it's code if it has a proper event for it.

we can either check this on your site via FTP, or you can send us your plugin with it's config options (api access or anything else needed) and we can test it on our vm3/j3 site at vm2.rupostel.com/purity

the empty cart issue shown on your print screen may come from:
- a cookie control plugin or your theme which prevents cookie creation before user agrees on cookie policy (cookies are required for cart functioning so each page can be assiciated with a specific customer's browser and it's session content - cart)
- your cookie is misconfigured (https vs http, or cookie path, cookie domain, etc... ) -> it seems that the cookie is not shared among the ajax process and the main visit/request
- your php is configured to auto-start cookie and the error reporting in some context (either main thread or ajax) may alter the session's config (auto started session may not be the same as joomla's session)

best regards, stan, rupostel.com
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Please,how to place an active reCaptcha code into your cart?

Postby eumedia » Mon May 11, 2015 8:24 pm

Thank you for the answer, it is necessary to adjust the placement Captcha.
Attachments
reCAPTCHA3.jpg
reCAPTCHA3.jpg (37.27 KiB) Viewed 6843 times
eumedia
 
Posts: 7
Joined: Mon May 11, 2015 9:31 am

Re: Please,how to place an active reCaptcha code into your cart?

Postby admin » Tue May 12, 2015 1:34 pm

hello, to move it a bit lower, you can do this:

locate this file over ftp:
\components\com_onepage\themes\sandwitch (your selected theme at the display tab)\onepage.unlogged.tpl.php

locate this line:
Code: Select all
<?php echo $captcha; ?>


and you can try this (not tested):

Code: Select all
<div style="margin-top: 30px; float: left; clear; both;">
<?php echo $captcha; ?>
</div>


best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x