1and1 Help Centre Categories

print article

How to disable payment methods depending on the total amount

Problem: Want to disable a certain payment method if the total is less than some amount.

Enter the following rule under: 'Settings' -> 'Advanced Settings' -> 'Payment methods' -> 'Rules for the order pages'Here you should see 'Rule for the first order page($RULE_ORDERPAGE_1)':


if ($total_sum < 100) {
DisablePaymentMethod("Invoice");
}
Thus the payment method Invoice will not be available if the total value is
less than £100.00.