1. Each try/catch block needs to catch the default base Exception class.
  2. Use the Stripe\Error\Card Exception method to get decline code for authentication required while processing subscription renewal.

Comments

AndraeRay created an issue. See original summary.

  • AndraeRay committed fa24937 on 7.x-3.x
    Issue #3073411 by AndraeRay: Catch uncaught php and stripe exceptions
    
andraeray’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.