Stripe subscription renewal not resetting quota - Next.js + Supabase

Posted yesterday

Worldwide

Summary

Hello! I run a small astrology app - people ask it questions and get answers drawn from their actual birth chart, with a Python service doing the astronomy behind the scenes. It's live, it has paying members, and it's very much a one-person business with developers helping me out along the way. I've got two things that need fixing. I should also say I'm hoping to find someone I click with, because small jobs like this come up every couple of months and I'd rather build a relationship with someone than start from scratch each time. The first one is costing me money and goodwill. Paid members are meant to get 500 "asks" a month, resetting each time their subscription renews. New signups work fine, but on renewal Stripe charges the card and the balance never tops back up - so people are paying and getting nothing, which I'm not comfortable with. My hunch is the webhook handles new signups but not invoice.payment_succeeded for renewals, though I'd rather hear your read on it. The affected accounts need correcting too. The second is a model that's been quietly failing since June. Something in the codebase still calls claude-sonnet-4-20250514, which Anthropic retired on 15 June 2026. I don't yet know which feature it powers, so part of the job is finding out, then migrating it to claude-sonnet-5. It's not a one-line swap - temperature, top_p, top_k and assistant prefilling all return 400 errors now and need removing or replacing. Anthropic's migration guide covers it. The stack is Next.js / React, Supabase (auth and Postgres), Stripe for billing, deployed on Vercel, using both OpenAI and Anthropic. One request - rather than a CV or a portfolio, I'd love to hear what you reckon is causing the first problem and how you'd confirm it. That tells me far more than a list of credentials, and it's genuinely how I'll be choosing. Looking forward to hearing from you!

  • Less than 30 hrs/week
    Hourly
  • < 1 month
    Duration
  • Intermediate
    Experience Level
  • $15.00

    -

    $35.00

    Hourly
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
PHP
API Development
Nice-to-have skills
JavaScript
WordPress
Activity on this job
  • Proposals:50+
  • Last viewed by client:1 minute ago
  • Interviewing:
    0
  • Invites sent:
    0
  • Unanswered invites:
    0
About the client
Member since Dec 8, 2024
  • AUS
    Ferny Hills3:44 AM
  • $5.7K total spent
    3 hires, 2 active
  • 45 hours

Explore similar jobs on Upwork

CS2 Public Server DevelopmentFixed-price‐ Posted 1 month ago
JavaScript
Python
MySQL
PHP
HTML
API
HTTP
HTML5
API Integration
jQuery
Screencast META APIHourly‐ Posted 3 days ago
Facebook Graph API
Instagram API
Facebook Messenger
Facebook Development
CodeIgniter
Chatbot Development
Social Media Account Integration
Laravel
Marketing Automation Software
Payment Gateway Integration
SaaS
API Development
Social Media Account Setup
API Integration
Web Development

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo