Can I set a default payment method for my customers rather than it remembering the last one used?
You can set the default payment method by doing the following:
* browse to your site folder and locate 'Session.pm'
* open it in a text editor such as notepad
* search for:
($key eq "COUPONCODE") || # and coupon code
* add the following on a new line after the above:
($key eq "METHOD") || # and payment method
* close and save the file
* then edit 'ActinicOrder.pm'
* search for: 1952
* you should see:
my $sSelectLine = ACTINIC::GetPhrase(-1, 1952); # "<OPTION VALUE='%s'>%s\n"
my $nMethodID;
* add a new line under this:
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 the Help file | Exporting Data | Fields in the Order Export | look for the 'Payment Option' field in the 'Order File'.
* 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.
SellerDeck 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.
You can set the default payment method by doing the following:
* browse to your site folder and locate 'Session.pm'
* open it in a text editor such as notepad
* search for:
($key eq "COUPONCODE") || # and coupon code
* add the following on a new line after the above:
($key eq "METHOD") || # and payment method
* close and save the file
* then edit 'ActinicOrder.pm'
* search for: 1952
* you should see:
my $sSelectLine = ACTINIC::GetPhrase(-1, 1952); # "<OPTION VALUE='%s'>%s\n"
my $nMethodID;
* add a new line under this:
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 the Help file | Exporting Data | Fields in the Order Export | look for the 'Payment Option' field in the 'Order File'.
* 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.
SellerDeck 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.