Thread: Payment Method

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2007
    Posts
    16
    Plugin Contributions
    0

    Default Payment Method

    During checkout when you get to the payment method ther are 2 places to input your credit card info.
    one has "credit card owner" and one has "card owners name".
    only the bottom one wil work and I only need one place for my customers to input the info.



    Please select a payment method for this order.

    Credit Card

    Credit Card Owner:
    Credit Card Number:
    Credit Card Expiry Date:



    Credit Card

    Card Owner's Name:
    Card Number:
    Expiration Date:



    Paypal IPN

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Payment Method

    A link to this site?

    Your Zen Cart Version
    Any Modules installed

  3. #3
    Join Date
    Sep 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Payment Method

    alumaden.com

  4. #4
    Join Date
    Sep 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Payment Method

    alumaden.com
    Zen Cart 1.3.7
    Database Patch Level: 1.3.7

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Payment Method

    What are the modules you have enabled in admin > modules > payment > ??

    I got 3 CC entry forms

  6. #6
    Join Date
    Sep 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Payment Method

    I turned on both authorize .net and authorize.net_aim

    I was checkink and testing

    right now I only have authorize.net_aim

    and it still showing 2 places

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Payment Method

    If you look at View Source in your bowser on the checkout-payment page, what is the HTML that creates those input fields?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Payment Method

    Popping in and looking at what DrByte suggested:

    Here is the source html and I have highlighted the individual ones in red and it still looks like there are more than one enabled: Double that the cc module is off
    Code:
    <script language="javascript"  type="text/javascript"><!-- 
    function check_form() {
      var error = 0;
      var error_message = "Errors have occurred during the processing of your form.\n\nPlease make the following corrections:\n\n";
      var payment_value = null;
      if (document.checkout_payment.payment) {
        if (document.checkout_payment.payment.length) {
          for (var i=0; i<document.checkout_payment.payment.length; i++) {
            if (document.checkout_payment.payment[i].checked) {
              payment_value = document.checkout_payment.payment[i].value;
            }
          }
        } else if (document.checkout_payment.payment.checked) {
          payment_value = document.checkout_payment.payment.value;
        } else if (document.checkout_payment.payment.value) {
          payment_value = document.checkout_payment.payment.value;
        }
      }
    
      if (payment_value == "authorizenet_aim") {
        var cc_owner = document.checkout_payment.authorizenet_aim_cc_owner.value;
        var cc_number = document.checkout_payment.authorizenet_aim_cc_number.value;
        if (cc_owner == "" || cc_owner.length < 3) {
          error_message = error_message + "* The owner's name of the credit card must be at least 3 characters.\n";
          error = 1;
        }
        if (cc_number == "" || cc_number.length < 10) {
          error_message = error_message + "* The credit card number must be at least 10 characters.\n";
          error = 1;
        }
      }
      if (payment_value == "cc") {
        var cc_owner = document.checkout_payment.cc_owner.value;
        var cc_number = document.checkout_payment.cc_number.value;
        if (cc_owner == "" || cc_owner.length < 3) {
          error_message = error_message + "* The owner's name of the credit card must be at least 3 characters.\n";
          error = 1;
        }
        if (cc_number == "" || cc_number.length < 10) {
          error_message = error_message + "* The credit card number must be at least 10 characters.\n";
          error = 1;
        }
      }
    
      if (payment_value == null && submitter != 1) {
        error_message = error_message + "* Please select a payment method for your order.";
        error = 1;
      }
    
      if (error == 1 && submitter != 1) {
        alert(error_message);
        return false;
      } else {
        return true;
      }

  9. #9
    Join Date
    Sep 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Payment Method

    So do I need to turn off the credit card module and just leave on the authorize.net_aim

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Payment Method

    So do I need to turn off the credit card module and just leave on the authorize.net_aim
    Yes, and why I asked what methods you had enabled....

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Remove "Payment Method" section from "Step 2 of 4 - Payment Method" page
    By iddy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 27 Jul 2020, 09:10 PM
  2. v151 Disable a payment method for a chosen shipping method?
    By chowyungunz in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 12 Jun 2015, 12:56 PM
  3. shipping method based on payment method?
    By psr racing in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 27 Apr 2011, 01:25 PM
  4. Step 2 of 3 - Payment Information doesn´t show payment method, bug?
    By dadex in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 Jun 2009, 03:42 PM
  5. Only show payment method when UPS shipping method chosen?
    By helen610 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 28 Aug 2008, 03:04 AM

Posting Permissions

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