Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Fix for <STRIPE_ACCOUNT>
Browse files Browse the repository at this point in the history
  • Loading branch information
mindlapse committed Sep 6, 2019
1 parent e0e9b9d commit 7e61f1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/src/Root.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ stripe.setOptions({
androidPayMode: 'test',
})

stripe.setStripeAccount('<STRIPE_ACCOUNT>')
const connectedAccount = '<STRIPE_ACCOUNT>';
if (connectedAccount != '') {
stripe.setStripeAccount(connectedAccount)
}

export default class Root extends PureComponent {
state = {
Expand Down

0 comments on commit 7e61f1a

Please sign in to comment.