Upgraded to the latest version of phpish/shopify where shopify\access_token() directly returns the oauth access token.