We would like to disable a specific payment method when specially tagged products are in the cart. The problem is that one of our external payment methods (Klarna) can only auth a credit card for 28 days, but in the case of items available for pre-order, the items might not become available for two months or more. So we would like to disable Klarna when the cart includes products that have specific tags. Is this possible? (note: we are a Plus store)
Hi @eitan_sperling -
Hiding a payment provider based on products in the cart can be done with custom Shopify scripts, see https://help.shopify.com/en/manual/apps/apps-by-shopify/script-editor, but custom scripts are only available for Shopify Plus merchants. If you are Shopify Plus and need further examples or support, please let us know; you can open a support case with us by emailing: email@example.com
I have blocked amazon pay as a gateway using a script on our Shopify Plus store. But amazon pay is still showing up as an "Express Checkout" payment method from the first screen of the checkout.
Is there anyway to also block it there for specific products?
Hi @LastNut ,
Is your store Shopify Plus? If so, you can write custom scripts via the "Script Editor" app in your Shopify store. Shopify provides starting code examples, but Klarna specific examples also documented at: "Shopify Plus: custom scripts " section at https://x.klarnacdn.net/plugins/Klarna%20Payments%20on%20Shopify%20-%20Merchant%20Guide.pdf
Hi again @LastNut ,
Unfortunately as your store is not Shopify Plus, Shopify doesn't support customizations to your checkout.
@LastNut - No, we are not able to add code, as it is Shopify code that serves the Shopify checkout page displaying the payment methods, so we aren't able to run code to change that page if not supported by Shopify.
I am in the same boat I sell Gift cards, but cant block them because I dont have shopify plus, but I can sell my other products. klarna are aware of this limation, but I still get told by Klarna I cant sell gift cards using Klarna
You can easily do this now, even if you are on Shopify basic plan. You will need to use the BeSure Checkout Rules app. After installing the app, please follow these steps,
With this rule setup, you can continue to use Klarna to receive payments, but when your tagged product is in the cart, then it will automatically hide Klarna for that checkout only. Cheers!
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023