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

empty space in invoice prefix causes smart buttons to not load (446) #390

Closed
AlexP11223 opened this issue Dec 6, 2021 · 0 comments · Fixed by #391
Closed

empty space in invoice prefix causes smart buttons to not load (446) #390

AlexP11223 opened this issue Dec 6, 2021 · 0 comments · Fixed by #391
Labels
bug Something isn't working
Milestone

Comments

@AlexP11223
Copy link
Contributor

image

Steps to reproduce

  1. enable vaulting
  2. set an invoice prefix with empty spaces like here:
    image
  3. visit checkout
  4. smart buttons won’t render

Possible cause

The invoice prefix is part of customer_id sent to v1/identity/generate-token, which has these restrictions:

  • Min Length: 1
  • Max Length: 22
  • Regex Pattern: ^[0-9a-zA-Z_-]+$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants