Reorder payment methods

To change the order of payment methods at checkout, create a payment function of the sort type. You list the payment methods in the order you want and choose the conditions under which that order applies.

Create the function

  1. In the app, go to Payment Function and click Create Payment Function.

    The Payment Function page of the app, with Payment Function highlighted in the menu and the Create Payment Function button at the top right.

  2. Click Sort / Reorder payment methods.

    The Create Payment Function dialog, with Sort / Reorder payment methods highlighted.

  3. In Payment Function title, enter a name that helps you find the function later, for example Sort Payment Method. Customers don't see it.

    The Payment Function title field with the name sort entered and the note Not displayed to customers.

Set the order

  1. Under Sorting Order, choose first to last or last to first.

    Sorting Order with the options first to last and last to first, above Payment methods name match.

  2. Under Payment methods name match, choose Contains, Exact (Case-Sensitive) or Exact (Non Case).

  3. Add each payment method whose position you want to change. Click Add Payment Method for each new line and enter its name in Title.

  4. Drag the lines by their handles into the order you want.

    Payment methods name match set to Exact (Non Case), three payment methods listed under Title with their drag handles highlighted, and the Add Payment Method button.

The match types work like this:

  • Contains: the payment method is sorted if any word you enter matches its name. For example, if the payment method is called paypal and you enter payp, its position changes.
  • Exact (Case-Sensitive): enter the exact name, with the same capital and small letters. For example, if the payment method is called PayPal and you enter paypal, its position doesn't change. Enter PayPal.
  • Exact (Non Case): enter the exact name. Capital and small letters don't matter, so paypal sorts PayPal.

Set when the order applies

The new order applies only when the conditions you set here are met.

  1. Under Payment Rules, next to Sort when matching, choose all conditions or any condition.

  2. Choose a rule type in Select Rule type and a condition in Select Rule Condition, then enter the value. Click Add Conditions to add more.

  3. Click Save.

    Payment Rules with all conditions and any condition next to Sort when matching, the rule fields, the Add Conditions button and the Save button.

  • all conditions: the order changes only if every condition is met.
  • any condition: the order changes if any one of the conditions is met.

Check that it works: go to your checkout with a cart that meets your conditions. The payment methods show in the order you set.

If it doesn't work

  • A name doesn't match. With Exact (Case-Sensitive), the name must match the payment method's name exactly, including capital and small letters. With Contains, check that the word you entered is part of its name.
  • The conditions aren't met. With all conditions, the cart has to meet every condition, not just one.

To hide or rename payment methods instead, see Hide a payment method and Rename a payment method.

Need a hand? Email support@scriptengine.net and our team will help you set it up.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us