Hi,
I'm trying to implement the Hosted Paypage with preoload solution. So far, I'm getting everything working except the Customer details (cust_id, email, and note) are blank on the on the Hosted Payment page.
Here is a sample POST Form Data I'm sending when getting the preoload: 'ps_store_id' => 'RFVYTtore2', 'hpp_key' => 'hp6T46ZOOQBF', 'hpp_preload' => '', 'charge_total' => '1.11'
Here is the XML response I get back:<response> <hpp_id>RFVYTtore2</hpp_id> <ticket>hpp1541655745xtrbuTep3cUE1pzlj</ticket> <order_id>mhp18311004225p71</order_id> <response_code>1</response_code></response>
With this response, I then generate the following form on the server side via PHP which then gets submitted automatically:
<form id="form-moneris-2" method="POST" action="esqa.moneris.com/.../index.php"> <input type="hidden" name="hpp_id" value="RFVYTtore2"> <input type="hidden" name="hpp_preload"> <input type="hidden" name="ticket" value="hpp1541655745xtrbuTep3cUE1pzlj"> <input type="text" name="cust_id" value="1234"> <input type="text" name="email" value="test@test.com"> <input type="text" name="note" value="190101"> <input type="SUBMIT" name="SUBMIT" value="Click to proceed to Secure Page"></form>
The POST Form data that gets sent is: 'hpp_id' => 'RFVYTtore2' 'hpp_preload' => '' 'ticket => 'hpp1541655745xtrbuTep3cUE1pzlj' 'cust_id => '1234' 'email => 'test@test.com' 'note' => '190101'
I'm then taken to the Hosted Paypage at https://esqa.moneris.com/HPPDP/index.php, but 'Customer ID', 'Email Address', and 'Note' are blank. Within the 'Hosted Paypage Configuration' > 'Appearance Configuration' > 'Hosted Paypage Data Fields' > 'Display customer details. (cust_id, email, note . . .)' is checked.
What am I doing wrong? Thanks!
In reply to MB_Moneris: