A woman used contraceptive pills, and her menses exceeded (15) days, is it permissible for her to fast?
The maximum of menstrual blood is (15) days, but if it exceeded that due to a medication, or the like, then it is Istihadah (bleeding outside the monthly period), and in this case she should perform Ghusl (ritual bath), pray, and fast. Moreover, she is obliged to make up for the missed fasting days which exceeded her regular menses. And Allah Knows Best.
What is the ruling when the monthly period when exceeding (15) days?
The maximum duration of menstruation is 15 days. If it exceeds this, it is considered irregular bleeding (Istihada). In this case, one must perform ghusl (Ritual bath) after menstruation, pray, and make wudu for each prayer after its time begins. She should return to her previous menstrual habit regarding duration and timing. For example, if her period used to be from the 20th to the 27th of each month, this is considered her menstruation period. Anything before or after this is Istihada, during which she only leaves prayer and fasting for the habitual menstrual days, then performs ghusl and resumes praying.
Is permissible to buy/sell with non-Muslim?
Yes buying/selling for a Muslim with non-Muslim is permissible as regards what is lawful.
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.