Fails to create a plan if one doesn't exist
Sorry @mattwire I'm on a roll today! :grinning:
[here](https://lab.civicrm.org/extensions/stripe/-/blob/6cf65aea79459607239f4d854cf9a0d891021f37/CRM/Core/Payment/Stripe.php#L352) we test for the parsed 'err' being `resource_missing`.
However, [this line](https://lab.civicrm.org/extensions/stripe/-/blob/6cf65aea79459607239f4d854cf9a0d891021f37/CRM/Core/Payment/Stripe.php#L306) says that `err` will always just be `''`.
I think this could be fixed with changing [l352](https://lab.civicrm.org/extensions/stripe/-/blob/6cf65aea79459607239f4d854cf9a0d891021f37/CRM/Core/Payment/Stripe.php#L352) to
`if ($e->getError()->code === 'resource_missing') {`
Am testing.
issue