The issue of tawarruq is that you buy some goods on credit, then sell them for cash to another person, not to the person from whom you bought them on credit, so that you can benefit from their price. According to the majority of scholars, there is no harm in this sale.
Reference: Al-Lajnah al-Da’imah: 19297