Home‎ > ‎Developer's Guide‎ > ‎

Customizing the Hosted Payment Page

Here are some tips for customizing the behaviour of the Hosted Payment Page

  • To display only a subset of the available Plans that the end-user can select from, send the Product "sku". For example, in the picture below (from the "Plans and Products" menu), if we wish to display only the Anti-virus Plans (under the the "Anti Virus" Product), then set "sku=AV-298" in the initial request:
GET /rest/signup/start?sku=AV-298




  • If the Customer information has already been collected on the hosting website, then set "hideCustomerFields=true". You will need to also set other related fields such as the customer name, email etc. See the "Query String Parameters" table here.
GET /rest/signup/start?hideCustomerFields=true&firstName=John&lastName=Doe&email=john@doe.com...

Note: the above string will need to be encoded appropriately (escaped)


  • If the Subscription Plan selection has already been collected on the hosting website (for example by using multiple "Buy Now" buttons with each having its individual link) then set "hideOrderFields=true". You will need to also set other related fields such as the contractCode (that represents the Plan) and and quantity. See the "Query String Parameters" table here.
GET /rest/signup/start?hideOrderFields=true&contractCode=MO-AV&quantity=5

Note: the above string will need to be encoded appropriately (escaped)



Comments