Welcome to Healthcaremagic.
Yes, the pain you have could be due to a pathology in the stomach.
You may have to continue on Prilosec
for another one month and if not found relief get an endoscopy
done which will ones in for al rule out the chances of it being acid reflux
disease.It will clues into what the problem is exactly.
Wish you good health.