Fixed encoding/decoding of ServerPaymentRequest.