Ran into this issue when migrating. Discovered an array mapping old payment gateways to new ones.
Mine was failing because I had a custom gateway that exceeded the bounds.
SOLUTION:
Delete the custom payment gateway in the old system
Restart the migration
2 Likes
hillel
2
Thanks for sharing the fix! Can you please explain, was the old value too long? We’d like to make sure this is corrected for other users.
It was out of bounds. The function getGatewayKeyById doesn’t allow for custom gateways. Mine had an ID of 62.