It's hard to say without knowing the situation and the team involved better.
Almost any really new software or even feature generally needs some amount of prototyping initially and usually this will happen whether the team planned it that way or not. However, if this step of the development process wasn't communicated to you from the beginning then I would suspect that they are either ignorant of this, or at least their organization is (I assume this is a contract or agency situation?). Either situation will be a potential problem for your company since it means they will continue to accrue technical debt rather than iterating on the prototype.
Done properly the prototype is either all or mostly thrown out and re-built from the ground up to improve and solidify the architectural and software design aspects. This paves the way for future feature development to continue unfettered by technical debt and early defects. Trying to simple cover the defects with "duct tape" or "cowboy" code is likely to cause the rest of the work to slog on and future iterations an feature development will become very slow.
However, without knowing more about your situation I'm not sure how useful or correct my advice is here.