Knowledgebase

Home » Item #952

Changing the order of payment systems in the dropdown menu at checkout

Item: #952
Date: 13 Nov 2006
Applies to
v5
v6

Question

I have more than one payment system activated on my web site. However, I want them to appear in a different order in the dropdown menu. How do I do this?

Answer

v6 - The selection of which payment options are active is done from the 'status' config setting that each payment method has. However, these do not affect the order. To change that, you would need to open the payment/payment.asp file and find this on line 34:

strPaymentSystems = "2co,aim,cp,dibs,email,epdq,nb,paypal,..."

(the line above is abbreviated but in the actual code contains all the supported payment methods)

Simply change the order that the gateway abbreviations appear; the closer to the beginning, the higher up the dropdown menu they will appear. Do not use spaces - just commas to separate the items.

v5 - In v5, which payment gateways are active is set in the paymentsystems config setting, which is a string, similar to that above. Simply change the order that the gateway abbreviations appear; the closer to the beginning, the higher up the dropdown menu they will appear. Do not use spaces - just commas to separate the items.

Can't find the answer you need? Click here to open a support ticket.

« Back