Display a payment method only for order above a certain amount - Prestige Theme

Display a payment method only for order above a certain amount - Prestige Theme

Vic1208
Tourist
23 0 2

Hello there, 

 

I have disable the Oney payment 3x without fees because I would like my customer to be able to use it only for orders above a certain amount (250€ probably but I'll think about this). 

Since the fees on the orders using this payment method is quite high for me, I don't want to show it on the checkout page for orders below this amount. 

 

I didn't find any way to do so natively in the shopify settings. 

If someone know how to add certain "rules" to the payment method display... 

 

Thanks, 

Victor 

Reply 1 (1)

DaisyVo
Shopify Partner
4385 486 579

Hi @Vic1208 

It sounds like you're trying to make the Oney 3x payment option available only for orders above a specific amount (e.g., €250) while hiding it for lower-value purchases. Unfortunately, Shopify doesn’t natively support conditional payment method displays based on cart value in its default settings. However, there are a few workarounds you can try:

Solution 1: Use Shopify Scripts (for Shopify Plus)

If you're on Shopify Plus, you can use Shopify Scripts to create a rule that hides the Oney 3x payment option for orders under €250. You’d need to write a Ruby script to filter out payment gateways based on order total.

Here's an example of how the script could look:

 

if Input.cart.subtotal_price < Money.new(cents: 25000)

  Output.payment_gateways.reject! { |gateway| gateway.name == "Oney 3x" }

end

Note: Shopify Scripts only work on Shopify Plus, and they only apply to Shopify’s own checkout system, not third-party payment providers like PayPal.

Solution 2: Use a Third-Party App

Since Shopify doesn’t have built-in rules for payment method restrictions, the best option for non-Plus users is to use a third-party app that allows conditional payment rules.

Some apps that support this feature include:

  • Dynamic Payment Rules by Regios
  • PayRules: Hide/Show Payment Methods
  • Advanced Payment Rules

These apps let you set conditions for when a payment method should appear, like:  

  • Show Oney 3x only if the cart total is above €250
  • Hide Oney 3x if the cart total is below €250

Solution 3: Custom Shopify Checkout UI (for Shopify Plus)

If you're on Shopify Plus and using Checkout Extensibility, you might be able to configure this through checkout.liquid or Checkout UI extensions. However, this requires developer skills to hide or show payment options dynamically.

Final Thoughts

If you're on Shopify Plus, the best approach is to use Shopify Scripts to filter payment options directly. If you're on a lower plan, you'll need a third-party app to set up rules for payment display.

If you need any other assistance, feel free to reply and I will try my best to help.
Best regards,
Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution