Hi Dear Comunity,
I’m using the latest JS SDK:
"@shopify/shopify-api": "^11.13.0",
"@shopify/shopify-app-express": "^5.0.18",
"@shopify/shopify-app-session-storage": "^3.0.18",
"@shopify/shopify-app-session-storage-postgresql": "^4.0.18",
I’m trying to set a different amount and different terms from the configured ones for the plan, for some stores based on their data, to make them a better offer.
I do manage to override Trial days successfully using the same code, however amount and usageTerms overrides don’t seem to work.
Example:
const params: BillingParams = {
session,
plan,
isTest,
trialDays: 5,
<strong>amount: 9.99,
usageTerms: starterTierTermsSmallStore</strong>
};
Please advise how to approach this and whether this is at all doable?
Sincerely,
michael