-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
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. |
This still doesnt seem to be merged. What's the status on this being added? |
The APIs are available in the rewrite which is on the way. In the mean time, if this is critically important you are welcome to open a PR with an extension trait and I will add it. |
https://docs.stripe.com/api/billing/meter Seems they have introduced a new usage based billing API. Will this be added? |
Yes, anything that ends up in their official openapi docs will also end up in this library. The current version is not as comprehensive and so misses some things. The rewrite will cover the entire API and improve compile times to boot. |
The confirmation token API seems to be missing (see: https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#submit-payment) |
hey @arlyon async-stripe/src/resources/generated/version.rs Lines 1 to 3 in f0fd711
I've discovered some major misalignment with the 'source' property of 'balance_transaction' so I am trying to make a plan for tackling it, but I feel like it's going to be hard since the Stripe api documentation is moving on, far past that 2023 version. |
can you also help me understand how openapi updates are being integrated yet this version number V2023_10_16 isn't changing? |
I believe the Entitlements and Features APIs are missing. |
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: