import React, { PropTypes } from 'react'; import { Button, Col, Panel, Row, Well } from 'react-bootstrap'; import { contain } from 'thundercats-react'; const paypalIds = { regular: 'ZVU498PLMPHKU', regularDiscount: '58U7P36W3L2GQ', highlighted: '3YYSTBAMJYTUW', highlightedDiscount: 'QGWTUZ9XEE6EL' }; export default contain( { store: 'JobsStore', actions: 'JobActions', map({ job: { id, isHighlighted } = {}, buttonId = paypalIds.regular, price = 200, discountAmount = 0 }) { return { id, isHighlighted, buttonId, price, discountAmount }; } }, React.createClass({ displayName: 'GoToPayPal', propTypes: { id: PropTypes.string, isHighlighted: PropTypes.bool, buttonId: PropTypes.string }, render() { const { id, isHighlighted, buttonId, price, discountAmount } = this.props; return (

One more step

You're Awesome! just one more step to go. Clicking on the link below will redirect to paypal.

Job Posting

+{ price }

Discount

-{ discountAmount }

Total

${ price - discountAmount }

An array of credit cards
); } }) );