-
Notifications
You must be signed in to change notification settings - Fork 195
feat: update stripe sdk to latest version #1538
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
Conversation
- Updated getSubscription method to handle cases where latest_invoice might be a string ID. - Enhanced the expand parameter to include latest_invoice for better data retrieval. - Cleaned up code formatting for improved readability.
- Refactored subscription details and billing section to access current_period_start and current_period_end from subscription items. - Improved code readability by ensuring consistent formatting across imports and object destructuring.
- Add logic to fetch charge ID from subscription's latest invoice - Expand invoice fields to access payment intent and charge data - Add debugging console.log statements for troubleshooting - Temporarily hardcoded charge ID for testing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Having issues getting a charge id from a subscription after a successful checkout session and think I'm missing something fundamental