Skip to content

Implement Stripe PaymentIntent creation#18

Closed
Thanhdn1984 wants to merge 1 commit into
SecureBananaLabs:mainfrom
Thanhdn1984:fix/stripe-payment-intent
Closed

Implement Stripe PaymentIntent creation#18
Thanhdn1984 wants to merge 1 commit into
SecureBananaLabs:mainfrom
Thanhdn1984:fix/stripe-payment-intent

Conversation

@Thanhdn1984
Copy link
Copy Markdown

Fixes #1

Summary

  • add Stripe SDK dependency to the API workspace
  • validate positive integer amount + 3-letter currency before creating a PaymentIntent
  • require STRIPE_SECRET_KEY instead of returning a mock payment payload
  • return Stripe PaymentIntent id, amount, currency, clientSecret, provider
  • fix API test command glob and add payment validation/env tests

Test

  • npm test -w apps/api

github-actions Bot added a commit that referenced this pull request May 16, 2026
@Thanhdn1984
Copy link
Copy Markdown
Author

Closing this duplicate/noisy submission to avoid wasting maintainer time. Sorry for the duplicate PRs — I will keep only the most relevant/latest submission and follow up there if needed.

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.

Implement Secure Payment Gateway and Payment Service

1 participant