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

Incorrect payment type-related input and return types #55

Open
Poitrin opened this issue Dec 6, 2022 · 0 comments
Open

Incorrect payment type-related input and return types #55

Poitrin opened this issue Dec 6, 2022 · 0 comments
Labels
Bug Something isn't working

Comments

@Poitrin
Copy link
Contributor

Poitrin commented Dec 6, 2022

Summary
Documentation has some incorrect input and return types.

Expected documentation

  1. shop.enabled_payment_types should return an array of strings (see examples, where enabled_payment_types is used in a loop)
  2. For payment_type_svg_tag, syntax should be string | payment_type_svg_tag

Actual documentation

  1. shop.enabled_payment_types returns string
  2. For payment_type_svg_tag, syntax is type | payment_type_svg_tag
@Poitrin Poitrin added the Bug Something isn't working label Dec 6, 2022
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

No branches or pull requests

1 participant