Fixed non-default product prices not working
refs https://github.com/TryGhost/Team/issues/718 We passthrough any unknown price ids directly to checkout session as it currently Portal cannot verify prices across all products
This commit is contained in:
parent
82f7d69d8d
commit
f3fd043580
@ -66,7 +66,7 @@ function handleDataAttributes({siteUrl, site, member}) {
|
||||
let priceId = '';
|
||||
if (plan) {
|
||||
const price = getQueryPrice({site, priceId: plan.toLowerCase()});
|
||||
priceId = price ? price.id : '';
|
||||
priceId = price ? price.id : plan;
|
||||
}
|
||||
let successUrl = el.dataset.membersSuccess;
|
||||
let cancelUrl = el.dataset.membersCancel;
|
||||
|
Loading…
Reference in New Issue
Block a user