Making CCV field in checkout mandatory for on site credit cards, but not for getting to Pay Pal site

Hi.  I posted this on December 1st and am still waiting for a response after a failed attept with chat.
When my clients are making an order, the CCV field, even though it is marked as required, they can actually place an order without entering the CCV.  I’d like the CCV to be required.  A chat rep said Pay Pal and BC don’t require a CCV, but I would like it to be there for extra security.
I’ve put the correct webform under Module tempaltes > online layouts > registration buy using both html and module insert methods to test it.  Neither worked.
The rep gave me this code to put at the bottom of my web form (note this is just the bottom of the web form field code as the top and middle have nothing to do with CCV).  The bold text is the extra text that is supposed to make the CCV required. 
It works. This code does render a CCV requirement for direct credit card transactions on site.  Problem is, if a client selects Pay Pal in my checkout as their choice and clicks "Place Order" a Pop up window appears telling them they must enter their CCV. So its being required for direct CC on site and offsite for Pay Pal.  Of course a CCV shouldn’t needed on that screen if a client wants to pay by going to the Pay Pal website. 
So I was wondering if you could help me modify the code so that the CCV code IS required for direct credit card purchases on my site, but when a client wants to use Pay Pal, that the CCV required field pop up does NOT appear and the client can be taken to Pay Pal to compete their order.  Many thanks!  My website is trueafricanart.com and I am using the latest BC version and normally Firefox, though I have tested in Safari and IE 9 and 10.
<script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
    <script type="text/javascript">
//<![CDATA[
var submitcount44260 = 0;function checkWholeForm44260(theForm){var why = "";if (theForm.PaymentMethodType) why += checkSelected(theForm.PaymentMethodType, "Payment Method");if (!theForm.PaymentMethodType || getRadioSelected(theForm.PaymentMethodType) == 1) { if (theForm.CardName) why += isEmpty(theForm.CardName.value, "Name on Card"); if (theForm.CardNumber) why += isNumeric(theForm.CardNumber.value, "Card Number"); if (theForm.Amount) why += isCurrency(theForm.Amount.value, "Amount"); } if (theForm.WorkPhone) why += isEmpty(theForm.WorkPhone.value, "Work Phone Number"); if (theForm.BillingAddress) why += isEmpty(theForm.BillingAddress.value, "Billing Address"); if (theForm.BillingCity) why += isEmpty(theForm.BillingCity.value, "Billing City"); if (theForm.BillingState) why += isEmpty(theForm.BillingState.value, "Billing State"); if (theForm.BillingZip) why += isEmpty(theForm.BillingZip.value, ""); if (theForm.BillingCountry) why += checkDropdown(theForm.BillingCountry.value, "Billing Country");if (theForm.CardCCV) why += isNumeric(theForm.CardCCV.value, "CCV Number");if (theForm.CardCCV) why += isEmpty(theForm.CardCCV.value, "CCV Number"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.CAT_Custom_511186) why += checkSelected(theForm.CAT_Custom_511186, "Billing Address same as shipping address?");if(why != ""){alert(why);return false;}if(submitcount44260 == 0){submitcount44260++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
//]]>
</script>
</form>

I thought I had and a few others in that with the answer. Because it was a javascript issue.
As I said in that other post, The code you get from the registration form has a condition on the radio options, none of the fields for credit card become required if you choose paypal.
EG:
if (!theForm.PaymentMethodType || getRadioSelected(theForm.PaymentMethodType) == 1)
                    if (theForm.CardName) why += isEmpty(theForm.CardName.value, "Name on Card<br>");
                    if (theForm.CardNumber) why += isNumeric(theForm.CardNumber.value, "Card Number<br>");
                    if (theForm.Amount) why += isCurrency(theForm.Amount.value, "Amount<br>");
And in there and when that case is met you put in the CCV script.

Similar Messages

  • My ipod wont let me buy any apps because it says i have an invalid security code for my moms credit card but its the right one. and it also says i owe money for upgrading an app does anyone know how to remove my moms credit card cause i cant figure itout

    my ipod wont let me buy any appps because it says i have an invalid security code for my moms credit card but its the right one. and it also says i owe money for upgrading an app does anyone know how to remove my moms credit card cause i cant figure itout

    To change asccount information see:
    Changing Account Information
    For the code issue this may help.
    iTunes Store: My credit card's security code or zip code does not match my bank's records
    For a standard iTunes account you need a valid payment method even for free apps and app updates.
    What is making it think that you own money for an app upgrade?

  • Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Kindly inform any email id or toll free number to contact apple for your below answer, Mr.King_Penguin
    About receiving my credit card being debited for Free App Store Application downloads,
    It should be within a few days, but it might vary a bit by bank/provider :
    I am in India, if the bank don't refunds , what to do?
    Rajagopal.pngr :-  It is only a holding charge, it is not a permanent charge. If it isn't refunded within a few days or so (and it quite possibly won't be over a weekend) then you can query the charge with Apple.

  • After update 7.1.0. my sound only works for phone calls,emails etc, but not for music or games

    after update 7.1.0. my sound only works for phone calls,emails etc, but not for music or games

    Maybe I understood your problem. Get to Settings > Sounds > Ringers and Alerts >Turn Change With Buttons to Off. And if your Side Switch is assigned to 'Mute', turn it back on, else, use the control center to turn off mute.
        P/s: And your name is...

  • Win7 - Adobe Reader X - highlighting works for me as an admin, but not for other users.

    What rights do I need to change to make this work for all users?

    I do not know why you experience this; what exactly happens when a non-admin users attempts to highlight something?
    You are talking about highlighting in the same document?

  • I'd like to preorder a cd off iTunes, but the only options for payment are credit cards. I'd like to pay with an iTunes gift card, can I do that? How do I do that?

    I'd like to preorder a cd off iTunes but I don't want to use a credit card, I have a gift card that I'd like to use. Do I have to preorder with a credit card, or can I use the gift card?

    I've seen nothing to indicate that you can't use an iTunes gift card to make a pre-order. If you redeem the card, you should be able to make the pre-order. For general information about pre-orders, see:
    http://support.apple.com/kb/HT5714
    Note, however, that it will be your responsibility to keep track of the charge that will go against your credit balance when the CD becomes available and ensure that you have sufficient balance or a credit card entered to cover the charge. If you don't have sufficient balance at the time the CD is available, the iTunes Store will probably go ahead and make the sale but you will then not be able to download anything further, even things you've already purchased, until you either provide a credit card or redeem another gift card sufficient to cover the amount you owe.
    Regards.

  • WMI filter working for some Windows 7 machines but not for others

    I'm trying to use this WMI filter for our Windows 7 64bit machines:
    select * from Win32_OperatingSystem where (Caption like "Microsoft Windows 7%") or (Version like "6.1%" and ProductType = "1" and OSArchitecture = "64 ビット") or (OSArchitecture like "64%" and ProductType =
    "1")
    The reason there are three clauses is that we have machines in United States, Japan, and France. The first clause works for the United States, the second clause works for Japan, and the third clause SHOULD work for France, but doesn't.
    I've run the query manually on the French machine using WMITest.exe (http://www.paessler.com/tools/wmitester) and it works. However, when I run a gpresult /r it shows that the GPO is denied
    due to the WMI filter.
    Why is this happening for French computers only?

    ..the third clause SHOULD work for France, but doesn't.
    I've run the query manually on the French machine using WMITest.exe (http://www.paessler.com/tools/wmitester) and it works. However, when I run a gpresult /r it shows that the GPO is denied
    due to the WMI filter.
    Why is this happening for French computers only?
    just a thought - is it due to localisation of the OS (fr-FR), and maybe the WMITest.exe is not honouring that?
    maybe, on a French OS, open CMD, run wmic os get osarchitecture   ??
    get somebody to give you a screengrab of that - just in case there's something funky going on.
    (I don't work with multiple languages, so am not sure if localisation can cause your issue, but from your Japan example it looks like it might do so)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Speakers work for phone and other apps, but not for music playback on 4G after downloading ios 8.0.2

    I know others are having off the wall issues with sound on their iPhones after installing the iOS 8.0.2...In my case? Thank God the sound for phone calls and alarms work, but the same can't be said for when I try to play music or a radio app?? And the speaker option on my voice mail sticks....
    There are 1001 other issues that I have with this so called upgrade, and let's just say that I've been looking at using my AT&T other phone options since I'm ready to upgrade....Since this is the second time in about a year that I've gone through **** and back with an Apple OS upgrade and there just isn't the cache there once was with owning an iPhone? I'm seriously questioning why be brand loyal when I can't find an answer to my issue and the one solution is to go to the Apple Store and deal with the arrogant and rude clerks OR try and see if someone has a decent solution, OR wait for weeks for Apple to offer a bug fix or access to older OS's!
    (BTW--I HATE how this OS kills the battery! And I'm not happy with the 2 apps that I didn't want and can't get rid of!)

    I was hoping that the iOS 8.1 update would have fixed my problem, but it has not. The app updates continue to hang and will not up date unless I follow the procedures mentioned earlier. I have spoken to Apple Care, and their only suggestion was to do a network settings reset. This worked once, but on the following days as more app updates appeared, they would not download. Once again, the only way to achieve my goal is to do one of the following;
    Change networks
    Sync through iTunes
    Reset Network Settings
    Turn off Wi Fi and use Cellular Data (not my preferred option especially while at home and connected to my home network).
    I think Apple are loosing the plot and seem to be chasing profits more than producing a good reliable product. I would have respected the company more if they had admitted that iOS8 was not ready for general release rather than release a faulty system causing so many problems.

  • They took the charge off for useing your credit card but did you know they charge $3 for cash payment

    does anyone know that thay charge $3 every time you pay cash that is a rip off i started with a cell phone 20 years ago and it was 19.99 but know thw bill is almost 200 dallors when does it stop with corprate greed?????? anyone have a opion????

    luckytaz26 wrote:
    i started with a cell phone 20 years ago and it was 19.99 but know thw bill is almost 200 dallors when does it stop with corprate greed?????? anyone have a opion????
    I think you are leaving a LOT out of this message. That bill from 20 yrs ago probably was only for 1 line, included NO minutes(you probably paid at least $0.30/minute for calling maybe more plus long distance) OR data. With you current bill of almost $200, it looks as if you have multiple lines, you DO have minutes, long distance is included, and you have 3G or 4G data(neither of which were available 20 years ago). You can't really compare your bill of $20 to your current bill. They are not the same thing.
    If you want to make a comparison, 1 individual line(which includes 450 minutes AND long distance) will run you $39.99/month. This same line with 450 minutes(from 20 years ago) would have run you $20(line charge) + $135 for calling minutes + any long distance you may have had.
    You can't compare smartphones such as BB, Android, iPhone, etc... because THEY WERE NOT AVAILABLE. The oldest technology, BB, wasn't available until 13 years ago!

  • Usb block for pen drives/ usb storage but not for iphone, ipad & itouch

    is there any way to block USB ports for pen drives/ usb storage so that we can confirm that no data is being leaked ?
    can we allow only iphone, itouch or ipad to connect from USB ports ?
    Message was edited by: maxnix2004

    [DenyThumbDrives|http://homepage.mac.com/gweston/dtd/index.html] may or may not work for you.
    JGG

  • My iPad will only use the speaker for movies, music, and YouTube, but not for games, locking/unlocking the screen, keyboard clicks, or anything else. What can I do to fix that?

    I have reset all the settings, and there is no change. Please help!

    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • Quicktime works for Apple QT test page but not for Apple trailers

    Hi
    I'm using XP Pro SP2. I've installed the latest QT 7.1.3. Looking at http://www.apple.com/quicktime/troubleshooting/
    QT works fine. But on going to any of the websites at Apple trailers I just get QT with a question mark logo.
    I've read the posts with similar problems but there seem to be no definitive answers.
    Is it possible for anyone in Apple to suggest a solution.
    Thanks

    If you go to your account page there should be a Downloadable Software Purchases link on the left, and that takes you to a page that should show your QT Pro number.

  • How can I turn off ring for notifications e.g. messages but not for calls?

    Simple question:
    Is there a combination of settings where I can turn off sounds and vibrate for notifications e.g. whatsapp, facebook but still have it vibrate for calls.
    E.g. if its in my pocket I'd prefer not to keep getting vibrations, but it would be necessary to know if someone is calling
    Thanks

    i dont know about whatsapp or other 3rd party apps 0 they may have setting options to do what you want - but for text messages and Facebook posts you can go to Settings/Sounds and set the sound for those 2 things to None

  • Facet for more than one column (but not for whole table)

    Hi all.
    Let's imagine we have dataTable with five columns. We can set facet (i.e. header) for the columns altogether or for each of them separetely. But is there any way to set header for only first three of them? like this:
    ____some header ____ | header | header |
    value 1 | value 2 | value 3 | value 4 | value 5 |
    value 6 | value 7 | value 8 | value 9 | value 10 |
    Any help is appreciated.

    This might not be the best approach if the file is huge, but if you nest the comparators, you can do this.
    Create a comparator that takes 2 other comparators as input, the primary and seconday. The compare method compares the inputs based on the primary comparator. If the result is not zero, then you have your answer. If the result is 0, then delegate to the secondary comparator. In the past I've created an abstract class to do the primary/secondary behavior, then had an abstract doCompare method that does the actual comparison. The secondary comparator can itself be a nested comparator, if necessary.
    john

  • EPP for K9N2 Platinum/Diamond only but not for K9N2G?

    Can K9N2G NEO-FD read SLI-READY DRAM's EPP data and set to run EPP enabled 1066 automatically just like nVidia 750a or 780a boards, without causing overheat or durability problems? According to Newegg and NextWarehouse, K9N2G NEO-FD runs 1066 in overclock fashion while K9N2 SLI platinum's and Diamond's spec showing 1066 is naturally supported. But, in MSI's web site, there is no difference shown on 1066 support.

    It should, but I would still call it overclock settings.    An overclock situation (FSB-wise) is the only chance you really have any benefit from 1066 memory.
    http://global.msi.com.tw/uploads/test_report/TR10_1460.pdf
    Oh, about EPP I don't know.

Maybe you are looking for

  • Nokia Lumia 1520 is not connecting to my hands-fre...

    I've now changed my phone (1520, Yellow) to the UK code (059V051) and installed the Cyan update. Everything is working well, except for for one major problem with Bluetooth. My hands-free car kit worked seamlessly until I installed the 8.1 Developer

  • Calling Functions.

    Hi, not really an actionscript expert but is there a way of calling a function on a different layer. You might ask why I'm not placing the actionscript in the same layer!? I have created a lot of code and at the moment with my experience I'm finding

  • External tax system calculation and FTXP -% not considered .

    Hi , We are using taxware for us  sales and use tax calculation . we have requirement where we need to accrue less tax during purchase of materilas that are used in manufacturing in CA  . the product code kind of configuration is ruled out as busines

  • Help!!  will not go past i tunes logo

    Turn on i pad itunes logo is on the screen with usb cable hit home button and nothing happens. Turned off and on many times.

  • "Batch Synchroniz​ation" in Parallel Model

    Hi, I'm working on a project with up to 15 UUTs which are supposed to be running using the parallel model, since they have to be able to start and stop separately. There are conditions in which all active UUTs are paused and restarted upon request. C