Can not add payment method from ui
WaysonWei opened this issue ยท comments
Firstly, thank you for open sourcing this amazing saas start kit. We still not able to run latest API & UI ( V2 ? )together at this point, but would be able to run them together with API v1.0.0 & Ui v1.0.0.
Now facing this issue. Not able to add payment method via UI showed as screenshot. Look like it is something to do with API regarding organization endpoint?
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.83. Please mark this comment with ๐ or ๐ to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I had it sorted... The API backend sending the credit card number directly to Stripe API, that's why showing 500 error. We need to use the token instead of the card number.
Thanks! If this is a bug not related to your use case but to Staart API, would you like to make a PR?
This issue is not relate to the bug of Staart API. In this case, Stripe recommended to wrap the customer payment details with Stripe Element and the new API rather than sending the raw credit card number directly to Stripe's API. We will be working on the payment code to make it working smoothly, will submit a PR if we come across any. Thanks again for this amazing project.