How to block a payment method for specific products

Topic summary

Core Issue:
Merchants need to disable Klarna (or other payment methods) for products with specific tags—particularly pre-order items that exceed Klarna’s 28-day authorization window.

Solutions by Store Type:

For Shopify Plus merchants:

  • Use Shopify’s Script Editor app to write custom scripts
  • Klarna provides specific code examples in their merchant guide documentation
  • Contact Klarna support (skosm@klarna.com) for implementation assistance

For non-Plus merchants:

  • Originally no native solution available (Shopify doesn’t support checkout customizations on basic plans)
  • As of 2024, third-party apps now enable this functionality:
    • BeSure Checkout Rules
    • PayRules: Hide Payment Methods
    • Bony: Checkout Rules & COD

Implementation Process (via apps):

  1. Create a “hide payment methods” rule
  2. Set condition based on product tags
  3. Select which payment method to hide (e.g., Klarna)
  4. Payment method automatically hides only when tagged products are in cart

Limitation Noted:
One user reported that blocking a gateway via script doesn’t prevent it from appearing as an “Express Checkout” option on the first checkout screen.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

I’m trying to get help with this exact issue. @KristiAtKlarna maybe you can help us? Thank you!