-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass some default values to Stripe when creating Stripe account
- Loading branch information
Showing
7 changed files
with
257 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,38 @@ exports[`StripePayoutPage matches snapshot with Stripe connected 1`] = ` | |
/> | ||
</h1> | ||
<injectIntl(StripeConnectAccountFormComponent) | ||
currentUser={ | ||
Object { | ||
"attributes": Object { | ||
"banned": false, | ||
"deleted": false, | ||
"email": "[email protected]", | ||
"emailVerified": true, | ||
"profile": Object { | ||
"abbreviatedName": "stripe-connected abbreviated name", | ||
"displayName": "stripe-connected display name", | ||
"firstName": "stripe-connected first name", | ||
"lastName": "stripe-connected last name", | ||
}, | ||
}, | ||
"id": UUID { | ||
"_sdkType": "UUID", | ||
"uuid": "stripe-connected", | ||
}, | ||
"profileImage": Object {}, | ||
"stripeAccount": Object { | ||
"attributes": Object { | ||
"stripeAccountId": "acc_testiaccountid", | ||
}, | ||
"id": UUID { | ||
"_sdkType": "UUID", | ||
"uuid": undefined, | ||
}, | ||
"type": "stripeAccount", | ||
}, | ||
"type": "currentUser", | ||
} | ||
} | ||
disabled={false} | ||
inProgress={false} | ||
onChange={[Function]} | ||
|
@@ -100,6 +132,28 @@ exports[`StripePayoutPage matches snapshot with Stripe not connected 1`] = ` | |
/> | ||
</h1> | ||
<injectIntl(StripeConnectAccountFormComponent) | ||
currentUser={ | ||
Object { | ||
"attributes": Object { | ||
"banned": false, | ||
"deleted": false, | ||
"email": "[email protected]", | ||
"emailVerified": true, | ||
"profile": Object { | ||
"abbreviatedName": "stripe-not-connected abbreviated name", | ||
"displayName": "stripe-not-connected display name", | ||
"firstName": "stripe-not-connected first name", | ||
"lastName": "stripe-not-connected last name", | ||
}, | ||
}, | ||
"id": UUID { | ||
"_sdkType": "UUID", | ||
"uuid": "stripe-not-connected", | ||
}, | ||
"profileImage": Object {}, | ||
"type": "currentUser", | ||
} | ||
} | ||
disabled={false} | ||
inProgress={false} | ||
onChange={[Function]} | ||
|
@@ -162,6 +216,38 @@ exports[`StripePayoutPage matches snapshot with details submitted 1`] = ` | |
/> | ||
</h1> | ||
<injectIntl(StripeConnectAccountFormComponent) | ||
currentUser={ | ||
Object { | ||
"attributes": Object { | ||
"banned": false, | ||
"deleted": false, | ||
"email": "[email protected]", | ||
"emailVerified": true, | ||
"profile": Object { | ||
"abbreviatedName": "stripe-connected abbreviated name", | ||
"displayName": "stripe-connected display name", | ||
"firstName": "stripe-connected first name", | ||
"lastName": "stripe-connected last name", | ||
}, | ||
}, | ||
"id": UUID { | ||
"_sdkType": "UUID", | ||
"uuid": "stripe-connected", | ||
}, | ||
"profileImage": Object {}, | ||
"stripeAccount": Object { | ||
"attributes": Object { | ||
"stripeAccountId": "acc_testiaccountid", | ||
}, | ||
"id": UUID { | ||
"_sdkType": "UUID", | ||
"uuid": undefined, | ||
}, | ||
"type": "stripeAccount", | ||
}, | ||
"type": "currentUser", | ||
} | ||
} | ||
disabled={false} | ||
inProgress={false} | ||
onChange={[Function]} | ||
|
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
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
Oops, something went wrong.