I have a Payment Gateway script which removes all payment gateway options except for one. This works on the payment step however I noticed that it does not affect "Express" checkout options such as Paypal and Amazon:
Is there a way to remove Paypal & Amazon express payment methods using Shopify Scripts editor?
Input.payment_gateways.delete_if do |payment_gateway| next unless payment_gateway.name != ALLOWED_GATEWAY puts payment_gateway.name end
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022