I've got a custom total price calculation working after getting help from David Smith in this thread (thanks again):
http://forum.gravityhelp.com/topic/custom-total-price-calculation#post-18327
I would reply to the thread directly but it has been closed already.
His suggestion to use a User Defined field for my fee calculation works, but when it is hidden by setting the CSS to "display: none" as suggested in the last step it stops working. This seems due to the gformGetBasePrice function of gravityforms.js where there are two areas where there is a comment: "//If field is hidden by conditional logic, don't count it for the total"
If commented out the relevant code and it works fine now, but the whole point of this was not to touch the gravityforms.js so the form wouldn't get screwed up by Gravity Forms updates.
Is there any trick to hiding a pricing element and still having it count for the total without touching gravityforms.js?