Payment Method Customization for Giftcard Use-Case

Payment Method Customization for Giftcard Use-Case

jainanek
Shopify Partner
3 0 0

In essence, we are looking to implement a feature wherein a payment method is hidden upon the application of a gift card during the checkout process. We are exploring the feasibility of achieving this objective through the Payment Customization functionality available within the Shopify Functions API.

Your insights into whether this functionality is supported by the Shopify Functions API would be greatly appreciated. Additionally, if you have any suggestions or alternative approaches to accomplishing this use-case, we would welcome your input.

Replies 2 (2)

AlexHeard
Shopify Partner
64 0 1

You can hide a payment method upon the application of a gift card using the PayRules: Hide Payment Methods app. Here's how you can do it:

 

  1. Choose the payment method you want to hide like “Cash on Delivery (COD)” from the "Select payment methods" field.
  2. In the “Products” field, choose your gift card products.

shopify-functions.png

 

This will ensure that the specified payment method like COD is hidden when a gift card is used during checkout.

sabeeh
Shopify Partner
12 0 0

I made a similar solution for a client. They need to hide COD when gift card is applied. I used the app : https://apps.shopify.com/checkout-ninja . The customisation only work with Shopify Plus customers. 

Here is the rule look like, 

Screenshot 2024-07-16 at 5.29.08 PM.png