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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for missing APIs #32
Comments
@arlyon hi, I actually just ran into this, as you made the ticket 9 minutes ago 馃槄. I need the You also have listed The Link to the stripe docs: Is there any shot these can get generated? |
The short answer is yes, that list is modules that are being generated, but aren't exported (yet). I have been working to try and simplify the code gen from the previous project but there's still a ways to go. For example, The next step for that is to run tests in CI for modules that aren't being included, as part of the automatic openapi CI updates. 8206f6e addresses that at least partially, so you can target that and at least test out edit: missed a line, its exported properly on master now. |
@arlyon thank you, i'll start using master branch to get access to it. Do you want me to report back with how it goes using the AccountLink? |
Just to add to this list, it seems like the SetupIntent confirmation flow is missing and/or incorrect. |
@Ryanmtate thanks for the report, could you open an issue with some details about what is / isn't working? |
@arlyon Thanks for the response. I've opened #36 to track conversation. |
@Ryanmtate are you sure? I use it currently in my backend and it works fine, even checked the stripe logs EDIT: I just saw that mean the confirmation flow, that I have not setup yet. |
@arlyon I did not forget about feedback using connected accounts stripe APIs like |
@kennetpostigo If you set |
@arlyon The account API's seem to be working for me for |
Is creating a card token will be supported? I can't find Update: There was already an ongoing PR |
Yes, that is the plan. I believe the mentioned PR directly modifies generated code which we want to avoid so it is not mergeable in its current form. If you are interested in this feature, you can either:
I currently do not have the bandwidth to tackle this myself but I am happy to provide guidance and (prompt) code review if needed. |
Hello, i saw billing_portal_session is on the list and is missing. from the tutorial for subscriptions of stripe, i seem need it to let user update the pay info when PAY info is expired or has issue. what's the plan to support it? or is there any quick workaround? thanks. |
The APIs are generated, just not exported / tested. If you'd like to include them and test them out you can make sure they are exported in |
Yes you are correct, thanks for bringing this to my attention :) |
i believe edit: it is available in the new codegen branch |
It's been a while and no search API.. Is this gonna be added? |
Search workaround if anyone needs it #[derive(Serialize, Default, Debug)]
pub(crate) struct SearchParams {
pub query: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub limit: Option<u64>,
#[serde(skip_serializing_if = "Option::is_none")]
pub page: Option<u64>,
}
pub(crate) async fn stripe_search<R: DeserializeOwned + 'static + Send>(
client: &stripe::Client,
resource: &str,
params: SearchParams,
) -> Result<List<R>, stripe::StripeError> {
client
.get_query(&format!("/{}/search", resource), ¶ms)
.await
} |
It seems the API is missing to retrieve a session's line items. |
API requests will be closed to keep the issue tracker clean and the issue will be added to this list. If it is unchecked, it is unaddressed. Any PR's addressing these will be handled speedily (I promise! 馃槃 )
The text was updated successfully, but these errors were encountered: