Title: Bug: Refund error not processed
Last modified: September 15, 2020

---

# Bug: Refund error not processed

 *  Resolved [digo](https://wordpress.org/support/users/digo/)
 * (@digo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/bug-refund-error-not-processed/)
 * We had to refund an order, stripe-Api exception:
    { “error”: { “message”: “This
   payment is too old to be refunded. It has passed its 180-day refund window.”,“
   type”: “invalid_request_error” } }
 * but the plugin marked the order as refunded, email sent to customer.
 * The plugin should process API-Errors correctly.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [wpnomad a11n](https://wordpress.org/support/users/wpnomad/)
 * (@wpnomad)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/bug-refund-error-not-processed/#post-13411546)
 * Hi [@digo](https://wordpress.org/support/users/digo/) ,
 * > We had to refund an order, stripe-Api exception:
   >  { “error”: { “message”: “
   > This payment is too old to be refunded. It has passed its 180-day refund window.”,“
   > type”: “invalid_request_error” } }
   > but the plugin marked the order as refunded, email sent to customer.
   > The plugin should process API-Errors correctly.
 * That is strange. I tried refunding an order that was almost a year old, and I
   was able to process the refund. The order was paid via Stripe. See screenshot
   for reference: [https://d.pr/i/D18nNi](https://d.pr/i/D18nNi)
 * It is, however, possible that Stripe has different refund rules based on different
   locations and Stripe accounts.
 * Could you please share more information so we can try and replicate the same 
   issue on our end? We’d need the following info:
 * – What is the location (country) and base currency of your Store?
    – What is 
   the main currency of your Stripe account? – Do you have any setting in Stripe
   that would prevent refunds beyond 180 days?
 * Do let us know so we can help further.
 *  Plugin Support [Thu P. a11n](https://wordpress.org/support/users/thup90/)
 * (@thup90)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/bug-refund-error-not-processed/#post-13450034)
 * Hi there,
 * I hope you found the previous reply helpful. We haven’t heard back from you in
   a while, so I’m going to mark this as resolved – if you have any further questions,
   you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Bug: Refund error not processed’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Thu P. a11n](https://wordpress.org/support/users/thup90/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/bug-refund-error-not-processed/#post-13450034)
 * Status: resolved