mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue