Data Preload Hosted Page

Since my Hosted Payment page got lots of cart testing, I want to use data preload hosted page instead.

But when I use a server programming language to send POST request to `https://esqa.moneris.com/HPPDP/index.php` (From Canada) I got `network is unreachable` error.

Even if I send my POST request to production server it still shows network is unreachable.

```

Post "www3.moneris.com/.../index.php": dial tcp 23.249.192.193:443: connect: network is unreachable
```

Also `curl` report `Couldn't connect to server` error:
```
$ curl -d "ps_store_id=mystoreid&hpp_key=myhppkey&charge_total=2.00&order_id=123&hpp_preload=" -X POST esqa.moneris.com/.../index.php
curl: (7) Couldn't connect to server
```

Anyone has ideas on how to connect to data preload url?

Thanks
  • [Sorry, my first time post message here. Fix format problem of the above post]

    Since my Hosted Payment page got lots of card testing transactions, I want to use data preload hosted page to prevent this happening.

    But when I use a server programming language to send POST request to "https://esqa.moneris.com/HPPDP/index.php" (From Canada) I got "network is unreachable" error.

    Even if I send my POST request to production server it still shows network is unreachable.

     

    Post "www3.moneris.com/.../index.php": dial tcp 23.249.192.193:443: connect: network is unreachable

     

    Also `curl` report "Couldn't connect to server" error:

    $ curl -d "ps_store_id=mystoreid&hpp_key=myhppkey&charge_total=2.00&order_id=123&hpp_preload=" -X POST esqa.moneris.com/.../index.php

    curl: (7) Couldn't connect to server

     

    Anyone has any ideas on how to connect to data preload url?  

    Thanks

  • In reply to AndrewGuo:

    The same data I send posted to "https://postman-echo.com/post" will return the following message:

    {"args":{},"data":"","files":{},"form":{"charge_total":"2.00","hpp_key":"myhppkey","hpp_preload":"","order_id":"123","ps_store_id":"mystoreid"},"headers":{"x-forwarded-proto":"https","x-forwarded-port":"443","host":"postman-echo.com","x-amzn-trace-id":"Root=1-5f3041a7-484fa8db63dc9f7b2eb58f3b","content-length":"88","content-type":"application/x-www-form-urlencoded","accept-encoding":"gzip","user-agent":"Go-http-client/2.0"},"json":{"charge_total":"2.00","hpp_key":"myhppkey","hpp_preload":"","order_id":"123","ps_store_id":"mystoreid"},"url":"postman-echo.com/post"}
  • In reply to AndrewGuo:

    This worked for me

    curl -d "ps_store_id=mystoreid&hpp_key=myhppkey&charge_total=10.00&order_id=12343567&hpp_preload=" -X POST https://esqa.moneris.com/HPPDP/index.php