It turns out that the client pays for your training — not only money and time you spend on learning new technologies and correction of mistakes, admitted inexperience (which, incidentally, will need to fix train all).
The sum upheld — and, in my opinion, goes a great way to resolve this situation.
In the end, this experience enhances your professional weight and ultimately the cost of your services. I believe this opportunity can only be glad.