fix gateway server detection (reported by ytswy)
Merge pull request #128 from haraldpdl/paypal

fix gateway server detection (reported by ytswy)