Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make prefilled_customer properties optional #64

Closed
ghost opened this issue Apr 14, 2020 · 1 comment · Fixed by #56
Closed

Make prefilled_customer properties optional #64

ghost opened this issue Apr 14, 2020 · 1 comment · Fixed by #56

Comments

@ghost
Copy link

ghost commented Apr 14, 2020

Hi! We're using your library and would like to use the prefilled_customer property when creating a redirectFlows (using client.redirectFlows.create).

We are using TypeScript and we can't use prefilled_customer without putting all the property with empty string for the one we don't want to fill.

For example if we omit region:

Property 'region' is missing in type '{ 
  address_line2: string; 
  address_line3: string; 
  ... 10 more ... ; 
  country_code: string; 
}'
but required in type 'RedirectFlowPrefilledCustomer'.
@tallosan
Copy link
Contributor

Hey @RomainCscnLF, thanks for the report!

We'll be rolling out a fix for this in the next few days.

@tallosan tallosan linked a pull request Apr 15, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant