Following this documentation page Javascript shopify.billing.request → Multi-plan setup - charge based on user selection you have to let the user select the plan he wants before calling shopify.api.billing.request
app.get('/auth/callback', async () => {
const callback = await shopify.auth.callback({
rawRequest: req,
rawResponse: res,
});
// Check if we require payment, using shopify.billing.check()
const confirmationUrl = await shopify.billing.request({
session: callback.session,
plan: 'My billing plan',
isTest: true,
});
res.redirect(confirmationUrl);
});
Does it help?