beam-community / stripity-stripe

An Elixir Library for Stripe
Other
965 stars 344 forks source link

FunctionClauseError when using Stripe.PaymentMethod.attach #797

Closed phanmn closed 10 months ago

phanmn commented 1 year ago

(elixir 1.14.0) lib/string.ex:1521: String.replace("/v1/payment_methods/{payment_method}/attach", "{payment_method}", %{customer: "cus_NnfFyQzFYFinG4", payment_method: "pm_1N2431FJPzh2xpkRUrfYyGHb"}, []) (stripity_stripe 2.17.3) lib/openapi/path.ex:10: anonymous fn/2 in Stripe.OpenApi.Path.replace_path_params/3 (elixir 1.14.0) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3 (stripity_stripe 2.17.3) lib/openapi/path.ex:6: Stripe.OpenApi.Path.replace_path_params/3 (stripity_stripe 2.17.3) lib/openapi/phases/compile.ex:199: Stripe.PaymentMethod.attach/3

%FunctionClauseError{module: String, function: :replace, arity: 4, kind: nil, args: nil, clauses: nil}

github-actions[bot] commented 11 months ago

This issue has been automatically marked as "stale:discard". If this issue still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment.

github-actions[bot] commented 10 months ago

Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to re-open the issue. Thank you!