RuffRuff Order Limits

(Use Case) Hide Payment Methods for eGift Orders

This is a configuration example for hiding specific payment methods only for eGift orders, using cart attributes set by the eGift service as the condition.

This is a configuration example for hiding payment methods such as Cash on Delivery (COD) and Bank Deposit for eGift orders. It uses cart attributes that eGift services (All in gift, AnyGift) automatically set for eGift orders as the condition for a payment rule.

Prerequisite: The initial setup for payment limits must be complete. If you haven't done this yet, see "Initial Setup (Payment Limits)".

When you enable the payment rule, it checks the cart attribute at checkout and switches whether the payment method is shown.

  • Regular order (no cart attribute): The specified payment methods are shown.

  • eGift order (with cart attribute): The specified payment methods are hidden.

(1) Create a payment rule

Open the app admin → "Payment rules" → "Create rule".

(2) Enter the settings

Set the following according to the eGift service you use.

The settings when using All in gift are as follows.

Setting

Value

Title

Any internal title

Display mode

Hide the specified payment methods

Payment methods

Select from the list, or enter the payment method name directly

Languages

All languages

Customers

All customers

Products

All items

Orders

Specific orders

Cart attribute → Key

SNSギフト

Cart attribute → Value

true

The settings when using AnyGift are as follows.

Setting

Value

Title

Any internal title

Display mode

Hide the specified payment methods

Payment methods

Select from the list, or enter the payment method name directly

Languages

All languages

Customers

All customers

Products

All items

Orders

Specific orders

Cart attribute → Key

eギフト決済用注文

Cart attribute → Value

true

Note: Enter the cart attribute value as lowercase true. If you enter True or TRUE, the value will not match and the rule will not apply.

(3) Save and enable the payment rule

After saving the settings, select "Enable".

(4) Check the behavior

Go to checkout with a regular order and with an eGift order, and check whether the payment methods are shown.

  • The cart attribute key and value depend on the specifications of each eGift service. If they have been changed, check the service's latest specifications.

  • The cart attribute value satisfies the condition only when it exactly matches the entered value.

  • All conditions of a payment rule must be met (AND condition). If even one condition is not met, Shopify's payment settings are shown as they are.