Why is the InAppPurchase2.order method not executed or showing any errors

I’ve been trying to implement in app purchase into an Ionic app. I’m able to make a purchase using my sanbox user for Android but iOS isn’t working. The weird thing is that iOS initially worked but stopped all of a sudden.

I’m not getting any of the console.logs in the terminal output except for the very first one in the purchase method console.log(‘purchase’, product);. After it hits that line in the code I don’t see where it’s calling the registerHandlersForPurchase() method. Afterwards I’m only getting the output from the inApp debug logs.

here is my stack post: