Commit 4776003d authored by Dmytro Zavgorodniy's avatar Dmytro Zavgorodniy

[RNA-761] Initialize tipsi-stripe

parent dfba7072
......@@ -2,10 +2,18 @@ import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { loadUserProfile, logout } from 'tipsi_api/actions'
import Stripe from 'tipsi-stripe'
import { stipeCredentials } from '../../config'
import { cleanReducers } from '../../actions'
const UNAUTHORIZED_ERROR_CODE = 403
Stripe.init({
publishableKey: stipeCredentials.publishableKey,
merchantId: stipeCredentials.merchantId,
androidPayMode: 'test',
})
function enhanceAppComponent(ComposedComponent) {
class Wrapper extends Component {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment