Announcement

Collapse
No announcement yet.

Payment options query

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Payment options query

    I have a query regarding payment options. I have set up an option 'invoice with order' which I have limited to a specific account which is fine. However, when this account comes to the payment page they are presented with a drop down box giving them the option of paying by credit card or invoice with order and all the boxes regarding credit card number, expiry date, etc show below. I don't want this account to have an option - I only want it to show invoice with order and I don't want the credit card boxes to appear on the screen.

    I can't limit the 'payment by credit card' option as the majority of orders are placed by unregistered customers (and I want this to continue).

    I am sure there is a work round this in one of the templates.

    Can anyone help?

    Many thanks

    Mel

    #2
    Hi,

    I'm not sure if this is possible as the 'Limit to Defined Customers' only means that this payment method will not be available to non-registered customers. I've asked our development team if there is a workaround and will post back as soon as I hear from them.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      You can change the meaning of the customer account default payment method option to be the only availabel method for that account by a simple script customisation. All you need to do is to open ActinicOrder.pm in a plain text editor and find the following line in sub GenerateValidPayments

      Code:
      my @Response = ActinicOrder::GetAccountDefaultPaymentMethod($sDigest);
      replace this line with the code below

      Code:
      @$parrMethods = ();
      my @Response = ActinicOrder::GetAccountDefaultPaymentMethod($sDigest);
      Save your changes and upload. Now account customers should have only one payment option what is defined on the account setup page.

      I hope this helps.
      Zoltan
      Actinic Software
      www.actinic.co.uk

      Comment


        #4
        Many thanks

        I will try that out.

        Regards

        Mel

        Comment


          #5
          Hi

          Thanks, have changed ActinicOrder.pm and now it only shows one payment method for an account which is great.

          However, I have a user defined field in payment for 'name on credit card' - I have changed it so it is not required but it still shows even when someone is not paying by credit card. I need to hide this for accounts which are 'invoice with order'. Is this possible?

          Thanks in advance.

          Mel

          Comment


            #6
            See the knowledge base article here how to hide specific bits of HTML code from certain customers.

            I hope this helps.
            Last edited by KB2; 23-Mar-2010, 01:22 PM. Reason: Updating kb links
            Zoltan
            Actinic Software
            www.actinic.co.uk

            Comment

            Working...
            X