File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1733,11 +1733,13 @@ export class Message {
17331733
17341734 if ( ( billing . tax != 1 || billing . taxrate != "" ) && customer . tax_ids . total_count > 0 ) {
17351735 if ( customer . tax_ids . data [ 0 ] . verification . status == 'verified' || customer . tax_ids . data [ 0 ] . verification . status == 'unavailable' ) {
1736- if ( billing . name != customer . tax_ids . data [ 0 ] . verification . verified_name ||
1737- billing . address != customer . tax_ids . data [ 0 ] . verification . verified_address ) {
1738- billing . name = customer . tax_ids . data [ 0 ] . verification . verified_name ;
1739- billing . address = customer . tax_ids . data [ 0 ] . verification . verified_address ;
1740- dirty = true ;
1736+ if ( customer . tax_ids . data [ 0 ] . verification . status == 'verified' ) {
1737+ if ( billing . name != customer . tax_ids . data [ 0 ] . verification . verified_name ||
1738+ billing . address != customer . tax_ids . data [ 0 ] . verification . verified_address ) {
1739+ billing . name = customer . tax_ids . data [ 0 ] . verification . verified_name ;
1740+ billing . address = customer . tax_ids . data [ 0 ] . verification . verified_address ;
1741+ dirty = true ;
1742+ }
17411743 }
17421744 if ( ( billing . tax != 1 || billing . taxrate != "" ) && customer . tax_ids . data [ 0 ] . country != "DK" ) {
17431745 billing . tax = 1 ;
Original file line number Diff line number Diff line change @@ -3206,8 +3206,10 @@ module openflow {
32063206 this . taxstatus = this . stripe_customer . tax_ids . data [ 0 ] . verification . status ;
32073207 this . taxaddress = this . stripe_customer . tax_ids . data [ 0 ] . verification . verified_address ;
32083208 if ( this . stripe_customer . tax_ids . data [ 0 ] . verification . status == 'verified' || this . stripe_customer . tax_ids . data [ 0 ] . verification . status == 'unavailable' ) {
3209- this . model . name = this . stripe_customer . tax_ids . data [ 0 ] . verification . verified_name ;
3210- this . model . address = this . stripe_customer . tax_ids . data [ 0 ] . verification . verified_address ;
3209+ if ( this . stripe_customer . tax_ids . data [ 0 ] . verification . status == 'verified' ) {
3210+ this . model . name = this . stripe_customer . tax_ids . data [ 0 ] . verification . verified_name ;
3211+ this . model . address = this . stripe_customer . tax_ids . data [ 0 ] . verification . verified_address ;
3212+ }
32113213 this . allowopenflowsignup = true ;
32123214 this . allowsupportsignup = true ;
32133215 }
You can’t perform that action at this time.
0 commit comments