Skip to content

Implement Stripe PaymentIntent service#672

Open
DYSfu wants to merge 1 commit into
SecureBananaLabs:mainfrom
DYSfu:dysfu/issue-1-stripe-payment-intents
Open

Implement Stripe PaymentIntent service#672
DYSfu wants to merge 1 commit into
SecureBananaLabs:mainfrom
DYSfu:dysfu/issue-1-stripe-payment-intents

Conversation

@DYSfu
Copy link
Copy Markdown

@DYSfu DYSfu commented May 24, 2026

/claim #1

Summary

  • replace the timestamp payment stub with Stripe SDK PaymentIntent creation configured from STRIPE_SECRET_KEY
  • validate payment payload amount, currency, and metadata before calling the provider
  • return Stripe paymentIntent.id as paymentId and paymentIntent.client_secret as clientSecret
  • route payment validation/provider errors through the API error handler while preserving Stripe error messages
  • add mocked Stripe service/API coverage plus an opt-in live test-mode smoke check

Demo

  • demos/stripe-payment-intent-demo.mp4

Validation

  • npm test

github-actions Bot added a commit that referenced this pull request May 24, 2026
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.

1 participant