Jump to content

How To Manage Gateways To Be Sorted


Guest Hellborn

Recommended Posts

Guest Hellborn

I have 3 activated gateways now but I want the one on top to be at the bottom. Which file tells which gateway that should be displayed descending or ascending?

Tried to changed the ID on the gateway in mysql but it didn't help.

Thanks in advance! :P

Link to comment
Share on other sites

See if this works for you:

In the /modules/gateway/ folder, rename the folder names of the three gateways you have activated so that the first listed has an "a" as the first letter, "b" as the first letter of second to be listed, etc.

So,

a-HSBC

b-eGold

c-Authorize_AIM

or whatever you need.

If I recall, CC just enumerates all the folders in the gateway folder and presets them as a list in the admin section.

But maybe you are referring to the list in the Cart.

In /includes/content/gateway.inc.php, line 326, put an " ORDER BY folder asc" (without the quotes) after the status = 1.

So,

...WHERE module='gateway' AND status = 1 ORDER BY folder asc");

See how that works for you.

Link to comment
Share on other sites

Guest Hellborn

The one below works awesome for me! Try the most easy one first and now it's all good =) A big thank! :sleep:

In /includes/content/gateway.inc.php, line 326, put an " ORDER BY folder asc" (without the quotes) after the status = 1.

So,

...WHERE module='gateway' AND status = 1 ORDER BY folder asc");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...