Magento 1 Order placement issue

Hey, I am making a an E-commerce store application whose web panel is in magento 1 and i am developing it in Ionic 1.
My problem is that when i register a user through application it does not allow me to place any order however when i place an order through website from the same user then it allows order from the application as well.
Please help !