Reminder: Encode square brackets in plan URLs by 20 October 2019

Reminder: Encode square brackets in plan URLs by 20 October 2019

We made some under-the-hood security updates to Zoho Subscriptions recently. As a part of these updates, we will be deprecating the use of un-encoded square brackets in plan URLs.


Note: A banner message regarding this was displayed on Zoho Subscriptions' dashboard a while back. With the deadline to implement these changes just 5 days away, this post is a reminder and can be ignored if you've already made the necessary changes.

How to Encode Square Brackets
If you're using parameters like addon_code[0] or addon_quantity[0] to include add-ons in your plan's hosted payment pages, the square brackets will have to be replaced with their encoded values, which are %5B for ' [ ' and %5D for ' ] '.

Here's what the add-on code and add-on quantity parameters should look like in your plan's URL with encoded values: 
  • addon_code[0] → addon_code%5B0%5D
  • addon_quantity[0] → addon_quantity%5B0%5D
Please replace square brackets with their encoded values by 20 October 2019, to ensure that your hosted payment pages function smoothly.

Sincerely, 
Varun Steven 
The Zoho Subscriptions Team