Error: Attempted to look for purchases without billing configs

Hi! I’m trying to this yt tutorial for adding a subscription billing to my app… I was successful at first implementing it on a dev store and remix boilerplate app but upon transferring the codes ot my app it displays this error

Error: Attempted to look for purchases without billing configs