On the front end when PDP needs to load a subscription there is an error {"errors":[{"message":"GraphQL invalid credentials. String is not a JWT"}]}
query:
"query Product( $productId: Int = 97, $namespace: String = "Stripe Billing", $subscription_config: String = "subscription_config") { site { product(entityId: $productId) { name variants { edges { node { sku metafields(namespace: $namespace, keys: [$subscription_config] ) { edges { node { key value } } } } } } } } }"
Issue is that the script injected {{apiToken}} as null from src\templates\subscribe-and-save-widget.hbs
but it needs to be {{settings.storefront_api.token}}