diff --git a/src/containers/CheckoutPage/CheckoutPage.js b/src/containers/CheckoutPage/CheckoutPage.js index 176ff612..a2670126 100644 --- a/src/containers/CheckoutPage/CheckoutPage.js +++ b/src/containers/CheckoutPage/CheckoutPage.js @@ -515,6 +515,7 @@ CheckoutPageComponent.defaultProps = { speculatedTransaction: null, enquiredTransaction: null, currentUser: null, + stripePaymentToken: null, }; CheckoutPageComponent.propTypes = { @@ -537,6 +538,10 @@ CheckoutPageComponent.propTypes = { slug: string, }).isRequired, sendOrderRequest: func.isRequired, + onCreateStripePaymentToken: func.isRequired, + stripePaymentTokenInProgress: bool.isRequired, + stripePaymentTokenError: bool.isRequired, + stripePaymentToken: object, // from connect dispatch: func.isRequired, diff --git a/src/forms/StripePaymentForm/StripePaymentForm.js b/src/forms/StripePaymentForm/StripePaymentForm.js index e734c698..f1a58a49 100644 --- a/src/forms/StripePaymentForm/StripePaymentForm.js +++ b/src/forms/StripePaymentForm/StripePaymentForm.js @@ -271,6 +271,7 @@ StripePaymentForm.defaultProps = { inProgress: false, onChange: () => null, showInitialMessageInput: true, + stripePaymentToken: null, }; const { bool, func, string, object } = PropTypes; @@ -286,6 +287,10 @@ StripePaymentForm.propTypes = { paymentInfo: string.isRequired, authorDisplayName: string.isRequired, showInitialMessageInput: bool, + onCreateStripePaymentToken: func.isRequired, + stripePaymentTokenInProgress: bool.isRequired, + stripePaymentTokenError: bool.isRequired, + stripePaymentToken: object, }; export default injectIntl(StripePaymentForm);