LogoLogo
  • 👋Function Junction
    • Introduction
    • Why should I use it?
    • Shopify Function Examples with Function Junction
  • Getting Started
    • Shopify Scripts Are Ending: How to Migrate Shopify Scripts to Function Junction
    • Function Junction Overview
  • Templates
    • Shopify Function Product Discount Template
    • Shopify Function Discount by Customer Tag Template
    • Shipping discount
    • Order discount
    • Free shipping to VIP customers
    • Shopify Function Bundle Discount Template
  • ✨Function Types
    • Creating and publishing
    • Discounts
      • Conditional discounts
      • Shipping discounts
      • Tiered discounts
      • Bundle discounts
      • Bundle fixed price
    • BOGO (Buy One, Get One)
    • Cart and checkout validations
    • Customize payment options at checkout
  • FAQ
    • Frequently asked questions
  • Privacy Policy
Powered by GitBook
On this page
  • In this section
  • Creating a payment option customization function
  • Step 1 of 3:
  • Step 2 of 3:
  • Step 3 of 3:
  • Example of a payment option customization function
Export as PDF
  1. Function Types

Customize payment options at checkout

Learn how to set up a payment option customization function.

PreviousCart and checkout validationsNextFrequently asked questions

Last updated 2 days ago

Payment method customization lets you control which payment options appear at checkout, and how they’re displayed, based on specific conditions. You can hide, reorder, or rename payment methods to suit your business needs.

For example, you can show American Express first for U.S. customers, hide certain methods for low-value orders, or rename a payment method to reflect a local preference. This allows you to tailor the checkout experience based on factors like customer location or order value.

In this section

Creating a payment option customization function

Step 1 of 3:

  1. From the Function Junction dashboard, click Create a function.

  2. Beside Customize Payment Options at Checkout, click Continue.

  3. Under Function name, give your discount a unique name so you can identify it later.

  4. Under Condition type, click the drop-down and select one of the following:

    1. Standard: The most commonly used and well-balanced settings.

    2. Delivery: For conditions that are more related to shipping and delivery.

  5. Click Next.

Step 2 of 3:

  1. Define the condition that activates the function:

    1. From the drop-down menu, select the condition that you want the function to be based on, like cart has items, then product/variant is any, then select the products you want, and selected items quantity is greater than 1

    2. Optional: Click Add a condition to add any additional conditions that you want.

    3. Click Next.

Step 3 of 3:

  1. Customize the payment method based on your conditions. Click Add a rule under any of the following:

    1. Rename payment methods

    2. Reorder payment methods

    3. Hide payment methods

  2. Enter the condition that you want based on the rule that you chose. It will differ depending on the rule.

  3. Click Publish.


Example of a payment option customization function

In this example, Max has several payment methods for his store. He has regular credit cards as a method, PayPal, and Klarna for a buy now, pay later option. Max decides he only wants to show Klarna as a payment option if the cart subtotal exceeds $500.

  • Function name: In this case, Max would give his function a name like Hide Klarna orders under $500 so that he can identify it later.

  • Condition type: Since he wants this to apply to a cart subtotal, not related to delivery, he would leave the condition type set to Standard.

  • Conditions: In step 2, because he wants this to be exclusive to carts with less than $500 worth of product, he needs to add the condition:

    • if cart subtotal is less than $500

  • Payment method rule: In step 3, Max would Add a rule under Hide payment methods. He would enter payment method name contains Klarna, and he'd also leave Hide in set to all.

✨
Creating a payment option customization function
Example of a payment option customization function