Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
411
Merge Requests
58
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
71be5e11
Commit
71be5e11
authored
14 minutes ago
by
Mark Harding
Browse files
Options
Download
(fix): provide id_number if required
parent
b64bf2eb
fix/stripe-requirements
1 merge request
!694
WIP: Fixes stripe form fixes for latest api
Pipeline
#102407473
running with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
1 deletion
+40
-1
src/app/modules/monetization/revenue/options.component.html
View file @
71be5e11
...
...
@@ -70,7 +70,7 @@
<m-phone-input
#phone
></m-phone-input>
<br
/>
<button
(click)=
"
addPhoneNumber(
phone.value)"
(click)=
"
updateField('phone',
phone.value)"
class=
"m-btn m-btn--action m-btn--slim"
>
<ng-container
*ngIf=
"!editing"
>
Save
</ng-container>
...
...
@@ -82,6 +82,28 @@
>
<b>
Complete the payout method step below
</b>
</ng-container>
<ng-container
*ngIf=
"account.requirement.indexOf('individual.id_number') > -1"
>
<b
>
Provide your Personal ID / Social Security Number (SSN) / National
Insurance Number
</b
>
<br
/>
<input
class=
"m-input m-revenueOptions__input"
#personalId
placeholder=
"Personal Id"
/>
<br
/>
<button
(click)=
"updateField('id_number', personalId.value)"
class=
"m-btn m-btn--action m-btn--slim"
>
<ng-container
*ngIf=
"!editing"
>
Save
</ng-container>
<ng-container
*ngIf=
"editing"
>
Saving...
</ng-container>
</button>
</ng-container>
</p>
</div>
...
...
This diff is collapsed.
src/app/modules/monetization/revenue/options.component.scss
View file @
71be5e11
...
...
@@ -17,6 +17,12 @@
}
}
.m-revenueOptions__input
{
margin
:
16px
0
;
width
:
300px
;
border-radius
:
36px
;
}
.m-revenue--options-payout-method-bank
{
p
{
font-family
:
'Roboto'
,
Helvetica
,
sans-serif
;
...
...
This diff is collapsed.
src/app/modules/monetization/revenue/options.component.ts
View file @
71be5e11
...
...
@@ -113,6 +113,17 @@ export class RevenueOptionsComponent {
this
.
getSettings
();
}
async
updateField
(
fieldName
:
string
,
value
:
string
)
{
this
.
editing
=
true
;
this
.
detectChanges
();
let
body
=
{};
body
[
fieldName
]
=
value
;
await
this
.
client
.
post
(
'
api/v2/payments/stripe/connect/update
'
,
body
);
this
.
editing
=
false
;
this
.
account
=
null
;
this
.
getSettings
();
}
async
acceptTos
()
{
this
.
editing
=
true
;
this
.
detectChanges
();
...
...
This diff is collapsed.
Please
register
or
sign in
to comment