Quote:
Originally Posted by cflsystems
The "else" portion will never run, why is there like this?
|
Let's imagine that we have 2.0 API version in connector that is not supported by old X-Payments.
In this case code will downgrade it to the 1.9 and so on until it find supported version.
Yes, I know that there can be versions like 1.11, but personally don't think it is a good idea to iterate through a 255+ numbers constantly calling X-Payments server