Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at

Hi,
I am using play 2.7.x
I am facing Cross-Origin Request Blocked problem.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sandbox.sslcommerz.com/gwprocess/v3/gw.php?Q=PAY&SESSIONKEY=xxxxxxxxxxx. (Reason: CORS request did not succeed)

I have tried this in configuration file but not working:

play.filters.enabled += "play.filters.cors.CORSFilter"

play.filters.cors {
  pathPrefixes = ["/"]
  allowedOrigins = ["https://sandbox.sslcommerz.com"]
  allowedHttpMethods = ["OPTIONS", "GET", "POST", "PUT", "DELETE", "HEAD"]
  allowedHttpHeaders = ["Accept"]
  preflightMaxAge = 3 days
}

How can I allow CORS ?