Skip to content

Remove debug log from Stripe checkout route - #184

Merged
gkhngyk merged 4 commits into
ansvisor:mainfrom
krishnaprasharkp:fix-remove-stripe-debug-log
Jun 10, 2026
Merged

gkhngyk merged 4 commits into
ansvisor:mainfrom
krishnaprasharkp:fix-remove-stripe-debug-log

Conversation

@krishnaprasharkp

Copy link
Copy Markdown
Contributor

Closes #182

Removed the leftover debug console.log from the Stripe checkout route.

The existing error logging remains unchanged and no functionality was modified.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Ansvisor, and thank you for your first PR! A maintainer will be by soon to review.

In the meantime, two things that make review faster:

  • A short description of why the change matters, not just what it does — most of our PRs link a Fixes #... to the issue that explains the why.
  • A quick local test note if there's anything worth eyeballing in the browser.

If you'd like to keep an eye on where Ansvisor goes next, a ⭐ on the repo helps others discover it (and Watch sends you a ping when related issues land). Either way — looking forward to your next one.

@krishnaprasharkp

Copy link
Copy Markdown
Contributor Author

I've submitted a PR for this issue: #184

@gkhngyk

gkhngyk commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for the fix! 🙌 One small thing before this can go in:

Removing the console.log leaves two consecutive blank lines where it used to be:

const appUrl = process.env.NEXT_PUBLIC_APP_URL || 'http://localhost:3000';


const session = await stripe.checkout.sessions.create({

Prettier collapses consecutive blank lines into one, so yarn format:check in CI will flag this. Could you delete one of the surrounding blank lines so there's a single blank line between appUrl and const session? After that running yarn format:check locally should pass and we're good to merge.

@krishnaprasharkp

Copy link
Copy Markdown
Contributor Author

I've addressed the formatting issue and updated the branch. Thanks for the review.

@gkhngyk
gkhngyk merged commit c4ef3bf into ansvisor:main Jun 10, 2026
2 checks passed
@gkhngyk

gkhngyk commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Merged! 🎉 I pushed a tiny follow-up to fix the indentation left behind when the debug log was removed, so format:check goes green. Thanks for cleaning up the Stripe checkout route — appreciate you seeing it through!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cleanup: remove leftover debug console.log in Stripe checkout route

2 participants