Announcement

Collapse
No announcement yet.

Remember Me, but not my Payment Method!

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

    Remember Me, but not my Payment Method!

    Morning

    I want to use the Remember Me option in checkout, but I don't want it to remember the customers payment method. Instead I want to always make the default payment method 'Credit Card' (instead of either PayPal or Cheque).

    I'm using radio buttons for my Payment Method in checkout - is there a way of overiding the Remember Me, and always having the radio buttons default to credit card?

    Thank you.
    Graham

    ps. the reason for this is we have a regular number of people who somehow select 'cheque' in checkout (so we see a 'waiting for payment'), but think they've entered their card details.

    #2
    Hi again,

    I now understand the problem better. With the 3 radio button options we have for payment method (credit card, paypal and cheque), new customers that arrive at checkout don't have any of these 3 radio buttons selected as default. If they miss these buttons and just enter their card details and purchase, the card details are not passed on to us. Instead we receive a "waiting for payment" order (card details just disappear!).

    So I desperately need to get the radio buttons to have a default status of the first option "credit card".

    Please help!

    Comment


      #3
      Hi there

      I'm just asking the development team if this can be done. Once i have found out the information, i will post it here

      Kind Regards
      Nadeem Rasool
      SellerDeck Development

      Comment


        #4
        Hi there

        Please do the following:
        Find and Edit Session.pm (This can be found in "C:\Program Files\Actinic v7\Sites\Site1")

        Search for...

        Code:
        $key eq "COUPONCODE"  || # and coupon code
        Insert additional line so it read...

        Code:
        $key eq "COUPONCODE"  || # and coupon code
        $key eq "METHOD"      || # and payment method
        Save and exit

        Edit ActinicOrder.pm
        Search for '1954' you will see...
        Code:
        my $nMethodID;
        foreach $nMethodID (@arrMethods)
           {
           if ($nMethodID == $nDefault)
              {
              $sHTML .= sprintf(ACTINIC::GetPhrase(-1, 1954), $nMethodID, 
        $$::g_pPaymentList{$nMethodID}{'PROMPT'});
              }
        Insert an extra line so it now reads...

        Code:
        my $nMethodID;
        my $nDefault = "10005";
        foreach $nMethodID (@arrMethods)
           {
           if ($nMethodID == $nDefault)
              {
              $sHTML .= sprintf(ACTINIC::GetPhrase(-1, 1954), $nMethodID, 
        $$::g_pPaymentList{$nMethodID}{'PROMPT'});
              }
        Save and exit

        The 10005 equates to 'Credit Card'.

        Kind Regards
        Nadeem Rasool
        SellerDeck Development

        Comment


          #5
          Brilliant Nadeem, that works exactly right

          For anyone else who fancies radio buttons for the payment method, instead of a drop-down... All I did was follow the V7 Advanced Guide info on page 64, then all the instructions above.

          Thanks again.

          Comment


            #6
            Similar problem in v6 - WorldPay as default payment method?

            Currently I use WorldPay as my only payment method. If I try to add other payment methods, either:

            * the added option - eg card details captured - becomes the default method selected (not what I want, I want WorldPay to be the default)
            * the default selection does not appear at all (customer then goes to receipt page, no card details taken at all)

            I have tried altering the order and text of Payment Methods in Business Settings to no avail. Also have tried radio buttons.

            I have tried to follow these instructions but ...

            Originally posted by Nadeem
            Search for...
            Code:
            $key eq "COUPONCODE"  || # and coupon code
            Find and Edit Session.pm (This can be found in "C:\Program Files\Actinic v7\Sites\Site1")
            There is no such line in the v6 file.

            Originally posted by Nadeem
            Edit ActinicOrder.pm
            Search for '1954' you will see...
            Code:
            my $nMethodID;
            my $nDefault = "10005";
            The 10005 equates to 'Credit Card'.
            Is there another code for WorldPay?

            Thanks.
            Kenny Fraser
            http://kennyfraser.com

            Comment


              #7
              Hi there

              There is no line because coupon code was not in version 6. Search for
              Code:
              $key eq "ORDERNUMBER" ||
              There is another code for "Worldpay" which is "4". (This value is found within the ActinicCatalog.mdb file under [PaymentMethod] table)

              Kind Regards
              Nadeem Rasool
              SellerDeck Development

              Comment


                #8
                Worked fine, thanks!
                Kenny Fraser
                http://kennyfraser.com

                Comment


                  #9
                  PayPal Number

                  If 10005 equates to 'Credit Card' what is the number to use PayPal as the default?

                  Comment


                    #10
                    Hi,

                    Paypal is 900
                    ********************
                    Tracey
                    SellerDeck

                    Comment


                      #11
                      Originally posted by Nadeem View Post
                      Hi there

                      Please do the following:
                      Find and Edit Session.pm (This can be found in "C:\Program Files\Actinic v7\Sites\Site1")

                      Search for...

                      Code:
                      $key eq "COUPONCODE" || # and coupon code
                      Insert additional line so it read...

                      Code:
                      $key eq "COUPONCODE" || # and coupon code
                      $key eq "METHOD" || # and payment method
                      Save and exit

                      Edit ActinicOrder.pm
                      Search for '1954' you will see...
                      Code:
                      my $nMethodID;
                      foreach $nMethodID (@arrMethods)
                      {
                      if ($nMethodID == $nDefault)
                      {
                      $sHTML .= sprintf(ACTINIC::GetPhrase(-1, 1954), $nMethodID,
                      $$::g_pPaymentList{$nMethodID}{'PROMPT'});
                      }
                      Insert an extra line so it now reads...

                      Code:
                      my $nMethodID;
                      my $nDefault = "10005";
                      foreach $nMethodID (@arrMethods)
                      {
                      if ($nMethodID == $nDefault)
                      {
                      $sHTML .= sprintf(ACTINIC::GetPhrase(-1, 1954), $nMethodID,
                      $$::g_pPaymentList{$nMethodID}{'PROMPT'});
                      }
                      Save and exit

                      The 10005 equates to 'Credit Card'.

                      Kind Regards

                      Hi,
                      'd like to do the same in a v16 site (default all payments to "Credit Card") but i can't work out where to place the
                      $key eq "METHOD" || # and payment method - in the Session.pl file
                      and do the changes to ActinicOrder.pm need to be changed for v16 ?

                      Toby@happyharris.co.uk

                      Comment

                      Working...
                      X