Given the following URL (working, try it!)
https://select-test.wp3.rbsworldpay.com/wcc/purchase?instId=151711&cartId=28524¤cy=GBP&am
Use %0A (URL encoding) instead of \n (C encoding).
%0A
\n