Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Passing parameters into custom modules
Participant
Dec 11, 2018 3:59 PM
I am adding a Stripe button to HubSpot so my pages can do payments.
var stripe = Stripe('pk_live_XXXXXXXXXX', { betas: ['checkout_beta_3'] });
the pk_live cannot be hard-coded in the component; it needs to be an input parameter. Would it be something like this:
var stripe = Stripe('{{stripe_sku_id}}', { betas: ['checkout_beta_3'] });
How do I set this in a given instance of a form (ie a landing page)?
@tjoyce apparently you're a wizard of forms? 🙂 Any guidance most appreciated. HubSpot themselves don't seem to be able to explain this which I think is very odd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content