Backend membership with a price set will ignore the price field financial type, uses price set instead
Overview
Backend membership with a price set will ignore the price field financial type, uses price set instead. (This is a different problem from #3083 though they should be consistent).
Related to #3084 (closed), #2414
Reproduction steps
- Set up a price set to include memberships.
- One price field should be membership of financial type Member Dues. The other Donation.
- Make a backend membership purchase.
Current behaviour
The contribution will show that each line item gets the financial type from the price set and not from the price set field:
And it doesn't set the non-deductible amount properly. In fact, I don't think it's set either way. If I change the price set financial type to be Merchandise then it still doesn't set the non-deductible.
Expected behaviour
Should use the financial type of the price set field/option. And it should set the non-deductible based on that. This is how it's working for a non-member price set: it will use the price field financial type and non-deductible amount regardless of what the price set is using.