client => options becomes curl_options
Fixed Javascript in dodirectpayment view.
Fixed getexpresscheckoutdetails view.