getHostedPaymentPageRequest.transactionRequest defines a property/object "customer" is consistently returning an error.
An option to get around this error is to use createCustomerProfileRequest, and the response value for customerProfileId.
Then pass getHostedPaymentPageRequest.transactionRequest.customerProfileId instead of "customer".
HTH!