Welcome to the MedHelp forum!
If acid reflux drugs are not helping you then the pain can be due to gall stones, pancreatitis, hepatitis or due to any inflammatory bowel disease like IBS, Crohn’s, celiac etc.
I would strongly recommend you to see a gastroenterologist (a specialist who looks after the diseases of our digestive system). It is difficult to comment beyond this at this stage. Take care!