From 09af8202ab886ee38a7005fdcb41789bbee13979 Mon Sep 17 00:00:00 2001 From: Hiroshi Nishio Date: Tue, 13 Jan 2026 19:30:07 +0900 Subject: [PATCH] Update credit pricing from $4 to $5 per PR - Update CREDIT_PRICING.PER_PR.AMOUNT_USD in config/pricing.ts - Update blog posts with new pricing ($5/PR, $15 free credits) - Update JSON-LD structured data - Update E2E tests to check for $5 --- CLAUDE.md | 2 +- ...01-28-how-to-open-pull-requests-from-github-issues.mdx | 8 ++++---- app/blog/posts/2025-08-08-best-unit-test-agents-2025.mdx | 2 +- app/dashboard/credits/jsonld.ts | 6 +++--- config/pricing.ts | 2 +- e2e/credit-workflow/legacy-customers.spec.ts | 2 +- e2e/credit-workflow/non-signed-users.spec.ts | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index b7bb3a1..b1ddf52 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -223,7 +223,7 @@ This is a Next.js 15 application using App Router for GitAuto - a SaaS platform - **Dual system in operation**: Both subscription-based (legacy) and credit-based (new) payment systems are active - **Legacy customers**: Existing paying customers still have monthly/yearly Stripe subscriptions -- **New system**: New customers use credit-based system ($4 per PR, auto-reload, etc.) +- **New system**: New customers use credit-based system ($5 per PR, auto-reload, etc.) - **Do not remove subscription code**: Billing period and subscription functionality must be maintained for existing customers ### Database Design Rules diff --git a/app/blog/posts/2025-01-28-how-to-open-pull-requests-from-github-issues.mdx b/app/blog/posts/2025-01-28-how-to-open-pull-requests-from-github-issues.mdx index fdb7d1c..5d3c824 100644 --- a/app/blog/posts/2025-01-28-how-to-open-pull-requests-from-github-issues.mdx +++ b/app/blog/posts/2025-01-28-how-to-open-pull-requests-from-github-issues.mdx @@ -166,16 +166,16 @@ And here's the result - a properly spaced heading with an added blank line: As of writing, GitAuto offers several pricing tiers: -- Free Plan: $12 free credits (3 PRs) -- Standard Plan: $4 per PR with $10 minimum purchase +- Free Plan: $15 free credits (3 PRs) +- Standard Plan: $5 per PR with $10 minimum purchase - Enterprise Plan: Custom pricing with advanced features Important notes about credit usage: -- Each PR costs $4 in credits +- Each PR costs $5 in credits - Multiple iterations on the same PR count as one PR - This includes both reassignments from the issue and review comments on the PR -- When bulk assigning issues, each resulting PR counts separately (e.g., assigning 10 issues that each create PRs consumes $40 in credits) +- When bulk assigning issues, each resulting PR counts separately (e.g., assigning 10 issues that each create PRs consumes $50 in credits) You can check your remaining issue count by creating a new issue (e.g., creating a test issue). diff --git a/app/blog/posts/2025-08-08-best-unit-test-agents-2025.mdx b/app/blog/posts/2025-08-08-best-unit-test-agents-2025.mdx index deeeb79..8ee61a1 100644 --- a/app/blog/posts/2025-08-08-best-unit-test-agents-2025.mdx +++ b/app/blog/posts/2025-08-08-best-unit-test-agents-2025.mdx @@ -104,7 +104,7 @@ AI-powered unit test generation has revolutionized how development teams approac **Languages:** Language-agnostic (works with any language and testing framework) -**Pricing:** Free ($12 credits, 3 PRs), Standard ($4/PR, min $10), Enterprise (custom pricing) +**Pricing:** Free ($15 credits, 3 PRs), Standard ($5/PR, min $10), Enterprise (custom pricing) ## 6. Keploy: Open-Source eBPF-Based Testing diff --git a/app/dashboard/credits/jsonld.ts b/app/dashboard/credits/jsonld.ts index c61d492..350c375 100644 --- a/app/dashboard/credits/jsonld.ts +++ b/app/dashboard/credits/jsonld.ts @@ -54,14 +54,14 @@ export const creditsJsonLd = { "@type": "Offer", priceSpecification: { "@type": "PriceSpecification", - price: "4", + price: "5", priceCurrency: "USD", unitText: "per PR", - description: "Pay-as-you-go pricing at $4 per pull request generated", + description: "Pay-as-you-go pricing at $5 per pull request generated", minPrice: "10", eligibleQuantity: { "@type": "QuantitativeValue", - minValue: 5, + minValue: 2, unitText: "PRs", }, }, diff --git a/config/pricing.ts b/config/pricing.ts index 5c6b9ca..54b6b7c 100644 --- a/config/pricing.ts +++ b/config/pricing.ts @@ -11,7 +11,7 @@ export const TEST_LEGACY_CUSTOMER_ID = "cus_QO4R5vh6FJuN7t"; export const CREDIT_PRICING = { PER_PR: { - AMOUNT_USD: 4, + AMOUNT_USD: 5, }, PURCHASE_LIMITS: { MIN_AMOUNT_USD: 10, diff --git a/e2e/credit-workflow/legacy-customers.spec.ts b/e2e/credit-workflow/legacy-customers.spec.ts index c97a6d0..110a045 100644 --- a/e2e/credit-workflow/legacy-customers.spec.ts +++ b/e2e/credit-workflow/legacy-customers.spec.ts @@ -236,7 +236,7 @@ test.describe("Credits - Legacy subscription owners", () => { await page.goto("/dashboard/credits"); // Should show credit pricing information - await expect(page.locator("text=$4")).toBeVisible(); + await expect(page.locator("text=$5")).toBeVisible(); await expect(page.locator("text=per PR")).toBeVisible(); await expect(page.locator("text=Credits expire after 1 year")).toBeVisible(); }); diff --git a/e2e/credit-workflow/non-signed-users.spec.ts b/e2e/credit-workflow/non-signed-users.spec.ts index 6f9168b..2d9cd50 100644 --- a/e2e/credit-workflow/non-signed-users.spec.ts +++ b/e2e/credit-workflow/non-signed-users.spec.ts @@ -22,7 +22,7 @@ test.describe("Credits - Non-signed in users", () => { await page.goto("/pricing"); // Should see credit pricing information - await expect(page.getByText("$4").first()).toBeVisible(); + await expect(page.getByText("$5").first()).toBeVisible(); await expect(page.getByText("per PR").first()).toBeVisible(); // Buy Credits button should show modal when clicked