diff --git a/app/services/invoices/payments/stripe_service.rb b/app/services/invoices/payments/stripe_service.rb index 0d3bfb5b6ab5..c54dce9066c1 100644 --- a/app/services/invoices/payments/stripe_service.rb +++ b/app/services/invoices/payments/stripe_service.rb @@ -58,7 +58,7 @@ def create deliver_error_webhook(e) update_invoice_payment_status(payment_status: :failed, deliver_webhook: false) - nil + result rescue Stripe::RateLimitError, Stripe::APIConnectionError raise # Let the auto-retry process do its own job rescue Stripe::StripeError => e