Skip to Content Skip to Menu

Where to find supported Stripe API version in CBSubs

  • fdinkler
  • fdinkler
  • ONLINE
  • Posts: 217
  • Thanks: 27
  • Karma: 0
1 month 3 days ago #339611 by fdinkler
Hey Kyle - 
I search on "Stripe API" but the hundreds of items didn't help.
In CBSubs, where do I find the supported Stripe API version?
Thanks,
Fred

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48603
  • Thanks: 8300
  • Karma: 1445
1 month 2 days ago #339614 by krileon
We don't display it publicly, but it's internally in the CBSubs Stripe gateway code. Is there a reason you need it? Our version is set to 2022-11-15 (this is the minimum supported version for webhooks). We use 2 way versioning. Meaning we set the version in our API calls and check for it in webhooks. This means it doesn't matter if Stripe releases a new version or not we should always be compatible. We update the version as needed based off new features, etc.. and deal with API deprecations based off version.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • fdinkler
  • fdinkler
  • ONLINE
  • Posts: 217
  • Thanks: 27
  • Karma: 0
4 weeks 1 day ago - 4 weeks 1 day ago #339633 by fdinkler
Kyle - 
We had an issue last year where the Stripe API wasn't graded, and the gateway was failing.
I'm getting notices from Stripe about a new API version, and was looking for guidance when to upgrade the Stripe API.
Code:
I'm seeing this: Upgrade your default API version Current default API versions 2023-10-16   Requests from your account New default API version 2024-10-28.acacia

Fred
 
Last edit: 4 weeks 1 day ago by fdinkler. Reason: ADded Stripe notice

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48603
  • Thanks: 8300
  • Karma: 1445
4 weeks 1 day ago #339637 by krileon
I'll make a feature ticket to review for a future release, but since we use versioned API calls there's no real urgency here. All CBSubs Stripe API calls set the Stripe-Version header to ensure we're always using a compatible version. Are you having any issues with payments or is it just the notice being a bit of an annoyance?

forge.joomlapolis.com/issues/9523


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • fdinkler
  • fdinkler
  • ONLINE
  • Posts: 217
  • Thanks: 27
  • Karma: 0
4 weeks 1 day ago - 4 weeks 1 day ago #339640 by fdinkler
I'm gun-shy after being burned by the prior error...
I'm still not certain what steps, if any, I need to take.  
  1. Should I upgrade to the latest Stripe API?
  2. If I upgrade to the latest API version, will CBSubs Stripe gateway still function
If you submit your version in the API request, that supersedes the version I select on the Stripe Dashboard?
The prior error was me selecting an earlier/older version than the version the CBSubs gateway was using.
Does that mean I have to keep head of CBSubs version?

Thanks,,,
Last edit: 4 weeks 1 day ago by fdinkler. Reason: more questions

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48603
  • Thanks: 8300
  • Karma: 1445
4 weeks 1 day ago #339642 by krileon
It won't matter what version you select in your account. We send the explicit version with every API request. The only time that would matter would be for the purpose of webhooks, but our webhooks are version forward compatible and I don't see any changes that would impact webhooks. So yes you could technically set your Stripe account to latest version if you wanted. However if everything is working fine as is then there's no real reason to do anything at all.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum