Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38

Default CC appears when turned off

This is a discussion on Default CC appears when turned off within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; it was working fine, then the payment box just appeared for no reason (with no change to code etc) When ...

      
  1. #11
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Default Re: Default CC appears when turned off

    it was working fine, then the payment box just appeared for no reason (with no change to code etc)
    When this sort of thing happens - I get worried that hackers are involved. I just wouldn't want to hear that people are filling in the first form (which isn't osCMax code) and firing their credit card details off somewhere they shouldn't.

    Regards,
    pgmarshall
    _______________________________

  2. #12
    New Member
    Join Date
    Feb 2008
    Posts
    23
    Rep Power
    0


    Default Re: Default CC appears when turned off

    what can I re upload or check? I have tried re uploading the payment modules, but I am unsure where this page is generated or what I need to upload to resolve it. Is it likely to be a database setting? or hard code?

    Any help would be good, I have looked at everything obvious, but I really cannot see where the payment boxes are being added.

  3. #13
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Smile Re: Default CC appears when turned off

    First thing to check is what the filename is then we can try and find the module which is installed.

    Browse to the following directory and list all the filenames you see:

    catalog/includes/modules/payment


    authorisenet_cc_aim.php
    authorisenet_cc_sim.php
    cc.php
    ccerr.php
    chronopay.php
    cod.php
    freecharger.php
    ipayment_cc.php
    moneyorder.php
    nochex.php
    paybox.php
    paypal_direct.php
    paypal_express.php
    paypal_ipn.php
    paypal_standard.php
    paypal_uk_direct.php
    paypal_uk_express.php
    pm2checkout.php
    psigate.php
    secpay.php
    sofotueberweisung_direct.php
    worldpay_junior.php

    Are there for a default install - you should have an extra file ...
    pgmarshall
    _______________________________

  4. #14
    New Member
    Join Date
    Feb 2008
    Posts
    23
    Rep Power
    0


    Default Re: Default CC appears when turned off

    yep, I have all that plus securehosting.php

    what is the mechanism to select the payment modules? i.e. which php files do i need to look at and which data in the tables do I need to check?

  5. #15
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Smile Re: Default CC appears when turned off

    Is that the only extra file you have?

    Code that lists the payment modules is in checkout_payment.tpl.php in the content folder of <your template>

    Code:
    <?php
      $selection = $payment_modules->selection();
      if (sizeof($selection) > 1) {
    Which calls the payment.php class.

    Why don't you post the contents of your checkout_payment.tpl.php file here (Please use the # button above to post the code in - otherwise it will be unreadable)

    Regards,
    Last edited by pgmarshall; 03-16-2010 at 06:24 AM.
    pgmarshall
    _______________________________

  6. #16
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Smile Re: Default CC appears when turned off

    Also worth having a look directly at the database ...

    Open phpMyAdmin (or similar) and have a look at the customers and customer_groups tables to see what these equal

    customers_payment_allowed (customers)
    group_payment_allowed (customer_groups)

    If you know what you are doing have a read through the payment.php file in includes/classes/ which is the nuts and bolts of the payment processing.

    Don't fiddle unless you know what you are doing ...

    Regards,
    pgmarshall
    _______________________________

  7. #17
    New Member
    Join Date
    Feb 2008
    Posts
    23
    Rep Power
    0


    Default Re: Default CC appears when turned off

    I dont have that file, the template is a pre-made one from oscMax Template Documentation and doesnt use the checkout_payment.tpl.php file

    The only extra file I have in the payment modules dir is the secure hosting one.

    Thanks

  8. #18
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Smile Re: Default CC appears when turned off

    I think you will find that if you are using osCMax you will be using a template ... (looking at the code it looks like an algozone.com one - looking at the drop down shopping cart top right)

    Looking at the site you posted - you must have gone to Store Configuration --> Default Template Directory --> Enter your new template name.

    Basically the file being called by the store is ...

    catalog/checkout_payment.php

    which in turn looks up your template folder

    catalog/templates/<your template>/content/checkout_payment.tpl.php

    and loads the content.

    Somewhere on the second file is the call for the code that is putting in the extra credit card info ...

    Post the contents of both of these files here.

    Or

    Goto Admin Panel --> My Store --> Template Switching Allowed --> Set this to true

    I will then have a look at your site using the fallback template - your store will remain unchanged to everyone else.

    Regards,
    Last edited by pgmarshall; 03-16-2010 at 06:45 AM.
    pgmarshall
    _______________________________

  9. #19
    New Member
    Join Date
    Feb 2008
    Posts
    23
    Rep Power
    0


    Default Re: Default CC appears when turned off

    I dont have the checkout_payment.tpl.php file, the template contents directory only has 2 files, index_default.tpl.php and product_info.tpl.php, nothing else

    I have turned on the template switching

    Many thanks for your help.

  10. #20
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Smile Re: Default CC appears when turned off

    Okay - I am slightly confused now - with template switching on I should be able to change the template for your store through the URL ...

    However, I can't!

    In your catalog/templates/ folder what folders have you got?

    aabox
    Closed
    CSS-fluid-1
    fallback
    help
    help-text
    new

    Regards,
    pgmarshall
    _______________________________

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. But cache is turned off in admin
    By met00 in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 04-14-2008, 09:27 AM
  2. search engine URLS turned off, but they are showing anyway
    By JonCloud420 in forum osCmax v2 Customization/Mods
    Replies: 7
    Last Post: 10-14-2006, 03:52 PM
  3. File path appears in the _big image pop up
    By KCount in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-02-2004, 10:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •