Common Issues payments

Refunds Not Working on My Website

You need to give a customer their money back, but the refund feature on your website isn't working. Maybe the refund button does nothing, you get an error message, or the refund appears to go through on your end but the customer never receives the money.

Refund problems are urgent because unhappy customers who can't get refunds often file chargebacks with their bank. Chargebacks not only cost you the refund amount but also come with additional fees ($15-25 per chargeback) and can get your payment account shut down if you have too many.

Even if your website's refund feature is broken, you can usually issue refunds directly through your payment provider's dashboard as a temporary fix while the main issue gets resolved.

Error Messages You Might See

Refund failed Charge has already been refunded Refund amount exceeds charge amount Insufficient funds for refund This payment cannot be refunded
Refund failedCharge has already been refundedRefund amount exceeds charge amountInsufficient funds for refundThis payment cannot be refunded

Common Causes

  • Refund feature never built — The AI tool generated a payment flow but didn't include refund functionality
  • Wrong API permissions — Your API key doesn't have permission to issue refunds, only to create charges
  • Refund amount exceeds original charge — The code is trying to refund more than what was charged, which payment providers reject
  • Payment already refunded — The payment was already refunded (possibly directly through Stripe/PayPal) and can't be refunded twice
  • Payment too old — Some payment methods have time limits on refunds (typically 90-180 days)

How to Fix It

  1. Refund directly through your payment provider — As a quick fix, log into Stripe or PayPal, find the charge, and refund it manually through their dashboard
  2. Check your API key permissions — Make sure your Stripe API key has the refund permission enabled
  3. Verify the refund amount — Make sure the code is sending the correct amount and currency for the refund
  4. Check the payment provider's refund logs — Look in Stripe or PayPal for any failed refund attempts and their specific error messages
  5. Build a proper refund flow — If your app doesn't have refund functionality, have a developer add it or use your payment provider's dashboard for refunds

Real developers can help you.

Meïr Ankri Meïr Ankri Full-stack developer specializing in React / Next.js / Node.js with 6+ years of experience. I've worked across various sectors including automotive (Reezocar/Société Générale), healthcare (Medical Link SaaS), and e-commerce (Glasman). I build web apps end-to-end, from architecture to production, with a focus on scalability, performance, and code quality. I also mentor junior developers and contribute to technical decisions and code reviews. Pratik Pratik SWE with 15+ years of experience building and maintaining web apps and extensive BE infrastructure legrab legrab I'll fill this later zipking zipking I am a technologist and product builder dedicated to creating high-impact solutions at the intersection of AI and specialized markets. Currently, I am focused on PropScan (EstateGuard), an AI-driven SaaS platform tailored for the Japanese real estate industry, and exploring the potential of Archify. As an INFJ-T, I approach development with a "systems-thinking" mindset—balancing technical precision with a deep understanding of user needs. I particularly enjoy the challenge of architecting Vertical AI SaaS and optimizing Small Language Models (SLMs) to solve specific, real-world business problems. Whether I'm in a CTO-level leadership role or hands-on with the code, I thrive on building tools that turn complex data into actionable value. Daniel Vázquez Daniel Vázquez Software Engineer with over 10 years of experience on Startups, Government, big tech industry & consulting. Sage Fulcher Sage Fulcher Hey I'm Sage! Im a Boston area software engineer who grew up in South Florida. Ive worked at a ton of cool places like a telehealth kidney care startup that took part in a billion dollar merger (Cricket health/Interwell health), a boutique design agency where I got to work on a ton of exciting startups including a photography education app, a collegiate Esports league and more (Philosophie), a data analytics as a service startup in Cambridge (MA) as well as at Phillips and MIT Lincoln Lab where I designed and developed novel network security visualizations and analytics. I've been writing code and furiously devoted to using computers to make people’s lives easier for about 17 years. My degree is in making computers make pretty lights and sounds. Outside of work I love hip hop, the Celtics, professional wrestling, magic the gathering, photography, drumming, and guitars (both making and playing them) Omar Faruk Omar Faruk As a Product Engineer at Klasio, I contributed to end-to-end product development, focusing on scalability, performance, and user experience. My work spanned building and refining core features, developing dynamic website templates, integrating secure and reliable payment gateways, and optimizing the overall system architecture. I played a key role in creating a scalable and maintainable platform to support educators and learners globally. I'm enthusiastic about embracing new challenges and making meaningful contributions. Richard McSorley Richard McSorley Full-Stack Software Engineer with 8+ years building high-performance applications for enterprise clients. Shipped production systems at Walmart (4,000+ stores), Cigna (20M+ users), and Arkansas Blue Cross. 5 patents in retail/supply chain tech. Currently focused on AI integrations, automation tools, and TypeScript-first architectures. BurnHavoc BurnHavoc Been around fixing other peoples code for 20 years. Bastien Labelle Bastien Labelle Full stack dev w/ 20+ years of experience

Describe what's wrong in plain English. No technical knowledge needed.

Get Help

Frequently Asked Questions

Can I refund a customer without fixing the website?

Yes. Log into your payment provider (Stripe, PayPal, Square) directly, find the transaction, and issue the refund from their dashboard. This works regardless of whether your website's refund feature is broken.

How long does a refund take to reach the customer?

Credit card refunds typically take 5-10 business days to appear on the customer's statement. PayPal refunds are usually faster (3-5 days). Let the customer know the expected timeline when you process the refund.

Related Common Issues Issues

Can't fix it yourself?
Real developers can help.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help