Conversation
Introduces a new backend directory containing an Express-based KBZPay payment backend, including controllers, services, routes, middleware, TypeScript config, ESLint config, environment example, PM2 config, and comprehensive documentation for database schema, payment flow, and frontend integration. Also updates next.config.ts.
Add KBZPay payment backend with docs and config
All Stripe-related code, configuration, constants, and dependencies have been removed from the project. This includes API routes, client utilities, product sync logic, payment service methods, and UI elements for Stripe checkout. The database schema and feature flags were updated to reflect the removal of Stripe support.
Remove Stripe payment integration
Update tsconfig.json to include backend in exclusion list
Updated Next.js from 15.5.2 to 16.1.1 and sharp from 0.34.3 to 0.34.5, along with related sub-dependencies. This includes changes to support new versions, removal of the 'color' package in favor of '@img/colour', and updates to various platform-specific sharp and libvips packages.
Upgrade Next.js and sharp dependencies
Updated the handling of API responses in KBZPayService to explicitly cast the response JSON to the expected object shape before accessing the 'Response' property. This ensures type safety and prevents potential runtime errors.
Fix KBZPay API response type casting
Added DEPLOYMENT.md with detailed instructions for environment variable setup and deployment on Digital Ocean. Updated ecosystem.config.js with environment variable setup notes. Improved KBZPayService to report exactly which environment variables are missing. Upgraded dependencies (dotenv, express, helmet) to latest versions. Minor formatting and documentation improvements.
Add deployment guide and improve env var validation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
❌ Deploy Preview for myatpwint-pre failed. Why did it fail? →
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.