We have many payment plans in the ecommerce setup.
What plan Keap will choose, when 2 or more plans have criteria that match a certain order?
Here an example:
I have a plan for order with total greater than 100$.
And another plan for order with a specific product, that costs 120$.
We create the order with the API, Keap should trigger one of these 2 plans.
Which one wins?
You sent me on quite the rabbit-hole down code I’ve never seen before; what appears to happen is that the default payplan is loaded for calls made through the API, whereas in the UI a list of applicable plans is provided for selection. You can, however, set all the payplan values however is required before processing payment on the order via: https://developer.infusionsoft.com/docs/rest/#operation/replacePaymentPlanUsingPUT