Sofia/payment sz error

Currently running the tests locally. However, this is backwards compatible.