All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Upon reviewing the details of the question, it is clear that the transaction corresponds to Murabaha to the one ordering the purchase, which is practiced by Islamic financial institutions. We would like to note that for the validity of this Murabaha, the following conditions must be met:
First: The goods must be received and taken into possession, from the first seller, in line with the conditions stipulated in Sharia. This is in compliance with the hadith of Ibn Abbas (may Allah be pleased with them both), who said: The Messenger of Allah (peace be upon him) said: "Whoever purchases food, let him not sell it until he takes possession of it." Ibn Abbas (May Allah Be pleased with them) commented: "I think that everything else is in the same category as food." [Agreed upon].
Second: The financier must pay the price of the goods to the first seller, and not through delegating the client ordering the purchase.
Third: The client ordering the purchase should not sign the final sale contract until the financier has taken actual or constructive possession of the goods from the first seller. However, it is permissible for the client ordering the purchase to sign a promise-to-purchase agreement at the initial stage.
Four: There should be no penalty fees for late payment.
In conclusion, if the aforementioned conditions are observed, the transaction is valid from a Sharia perspective. And Allah The Almighty Knows Best.