Announcement

Collapse
No announcement yet.

Cookies

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

    Cookies

    Is it possible for the payment type not to be included in the cookie when the user revisits the site. I have 4 payment types set up and I want the customer to select the type on each visit but not have to type the other 'remembered' info in.

    Gilbo

    #2
    Hi,

    You can set what you want as the default payment method (ie what will appear in the drop-down list on every transaction) by doing the following (backup your site first):

    - browse to your site folder and locate 'Session.pm'
    - open it in a text editor such as notepad
    - search for:

    Code:
    ($key eq "COUPONCODE")  ||		# and coupon code
    - add the following on a new line after the above:

    Code:
    ($key eq "METHOD")      || 		# and payment method
    - close and save the file
    - then edit 'ActinicOrder.pm'
    - search for: 1952
    - you should see:

    Code:
    		my $sSelectLine = ACTINIC::GetPhrase(-1, 1952);	# "<OPTION VALUE='%s'>%s\n"
    		my $nMethodID;
    - add a new line under this:

    Code:
    my $nDefault = "10005";
    '10005' is the ID for 'Credit Card Details Captured for later Processing' - you can get the ID's for the payment methods from ActinicCatalog.mdb file (Payment Methods table).

    - close and save this file
    - update your site

    The default payment method will now be shown for each customer and not what they have used on a previous order.

    Actinic is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
    ********************
    Tracey
    SellerDeck

    Comment

    Working...
    X