Hosting Payment Page - Security

Hi everyone,

I am new to Moneris and try to develop the payment page in my website, using hosting payment page. 

In Hosting Solution configuration page, it says:

"Both the 'ps_store_id' and 'hpp_key' are to be kept secure, though if security were to be compromised, you may generate a new 'hpp_key' without having to create a completely new configuration."

However as per the posted sample for Hosted Paypage Credit Card Purchase, the value of 'ps_store_id' and 'hpp_key' needs to be defined as hidden inputs in html page. These hidden inputs can be easily discovered by using the "view source" in the browsers (like internet explorer or google chrome).

Am I missing something? Is there any way to make the parameters secure or hidden to be discovered?

Thanks,

  • The credentials will in fact be visible by viewing source, it is one of the unfortunate parts of the form post method used to send data to our host. You could use the data preload option or hosted tokenization options to keep the data more secure.
  • In reply to MB_Moneris:

    Thanks a lot MB-Moneris. However, can we define recurring billing by using preload or hosted tokenization? I only found sections that explained one-time billings using these options. Anywhere that explained about recurring?

    Thanks and Regards,
  • In reply to MB_Moneris:

    I also share the same security concern as armdoernet. I guess the important question to me is what can an attacker accomplish if they get our "ps_store_id" and/or "hpp_key" values?

     

    Also, if my understanding of Data Preload is correct, the "ps_store_id" is still accessible to attackers. The "hpp_id" required by the "Ticketed" Hosted Payment Page form POST call is really just the "ps_store_id".

  • In reply to mikeroelens:

    The only thing someone can do with your credentials (ps_store_id/hpp_key) is to send a purchase transaction on your behalf. We have seen some fraudsters grab those and run a script to process card testing. The best tactic to prevent this is the data preload option, which does not expose your credentials since the first post is not visible to cardholder/browser.
  • In reply to armdoernet:

    You can use the hosted tokenization and process a purchase with recurring using the API as a follow-on. I'll need to look into the pre-load with recurring details. It may be possible, even though it is not documented.
  • Can you please provide the documentation on how to implement the pre-load option for hosted tokenization?
    Thanks
  • In reply to Sebastien:

    There is no pre-load option for hosted tokenization.
  • In reply to MB_Moneris:

    In a previous reply, you mentioned the data preload option. Can you please point me to it ?

    Thanks
  • In reply to Sebastien:

    The preload option only exists for hosted paypage, not hosted tokenization. You can find the documentation for the hosted paypage preload option at the following link.

     

    http://developer.moneris.com/Documentation/NA/E-Commerce%20Solutions/Hosted%20Solutions/Hosted%20Payment%20Page

     

    click on the "Hosted Paypage Process Flow with Data Preload" link.