Due to business requirements it is needed that orders placed with PlacePlanPeriodSwitchOrder_API with total less than 0 (money are returned to the customer) are created with a credit memo, not with a credit memo+refund. What configuration is required to achieve this?
For only credit memo to be created the following conditions must be true:
Create Refund Automatically in All Applicable Casesset to
Noin Home > System > Settings > Order Processing > Order Processing Setup
- an order must be created with an empty
SOPayToolID, which can be only when there is no default payment method on the client and no vendor default payment tool. For the second condition to satisfy
Default Payment Method for Customersmust be false in all the payment methods ( Home > Operations> Payment Methods)