Hi Sarfaraz101
welcome to the Apple (user-to-user) Community!
RE: "In game purchase failed but payment went through"
There are various kinds of in-app / in-game purchases. (Sorry I don't know that particular game.):
You might want to see how in-app purchases are supposed to work:
Buy additional app features with in-app purchases and subscriptions - Apple Support
___________________________________________
Re: "I hadn’t received my resources".
You might want to check if what you tried to purchase is still available to you:
What to do: If you can't find or use your in-app purchases - Apple Support
________________________________________________________________
Re: "But it showed purchase failed. I hadn’t received my resources nor my refund"
How to: Request a refund for apps or content that you bought from Apple - Apple Support
____________________________________________________________________________
Re: "But the problem is it’s not even showing in my Apple ID purchases. What to do?"
Seems the money may have gone straight to the game-developer or vendor ?
The best source of help for a product not made by Apple (a third-party product)
is the company or person who made it—its vendor or developer:
How to: Contact a third-party vendor - Apple Support
or
How to contact an app developer - Apple Support
_______________________________
Re: "I also have my payment record".
For purchases from Apple:
Billing and Subscriptions Support have a contact link at the bottom of their web-site:
(eg: online chat / phone / email etc.)
Subscriptions and Billing - Official Apple Support
Hope there is something above that can help you resolve this issue satisfactorily.
All the best :-)