Remember: especially when getting laid off in tech - eventually this will commonly be very good for personal growth. Lots of opportunities in the coming downturn as in full tandem with ever-ongoing neoliberal capitalism: software is still eating the world.
Don’t be sad. Take the ticket - and maybe do something that’s more interesting / pressingly needed than… payment processing…
The world is literally on fire, you are smart and hard working why not do something about that instead?