This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ./imports/startup/server/browser-policy.js | |
import { BrowserPolicy } from 'meteor/browser-policy-common'; | |
BrowserPolicy.content.allowOriginForAll('https://js.stripe.com/'); | |
BrowserPolicy.content.allowOriginForAll('https://checkout.stripe.com/'); | |
BrowserPolicy.content.allowOriginForAll('https://tmc-post-content.s3.amazonaws.com/'); | |
BrowserPolicy.content.allowOriginForAll('https://q.stripe.com/'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ./imports/ui/components/plan.jsx | |
import React from 'react'; | |
import { ListGroupItem } from 'react-bootstrap'; | |
export const Plan = React.createClass({ | |
propTypes: { | |
plan: React.PropTypes.object.isRequired, | |
selectedPlan: React.PropTypes.func, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ./imports/ui/containers/plans-list.js | |
import { composeWithTracker } from 'react-komposer'; | |
import { PlansList } from '../components/plans-list'; | |
import { Loading } from '../components/loading.js'; | |
import { Meteor } from 'meteor/meteor'; | |
const composer = (params, onData) => { | |
const plans = Meteor.settings.public.plans; | |
onData(null, { plans }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"public": { | |
"plans": [ | |
{ | |
"_id": 1, | |
"name": "Full Torso Apparition Removal", | |
"amount": { | |
"cents": 300000, | |
"usd": "$3,000" | |
} |
NewerOlder