Docs
+, sign, url, checkout, plan, Addon, id, contains
41174755
2022-09-05T07:13:36Z
2025-02-20T05:27:02Z
126
0
0
255535
How to create Checkout URL if plan/addon ID contains “+” sign?
Why my addon ID is throwing an error in the Checkout URL when it exists on my site?
Summary
Suppose for PC 1.0, if the One-time checkout URL is
Just replace the + sign with %2B in the above URL
You just need to make the above changes in any Checkout URL for it to work, if the error is coming because of the + sign.
Solution
Suppose for PC 1.0, the One-time checkout URL that you have created is
Then it wouldn't work. It would throw an error like this (below image)
Even though the addon ID entered was correct (below image)
Since the URL is not considering the “+” sign, it is throwing an error.
Referred to this doc - https://www.w3schools.com/tags/ref_urlencode.ASP
which tells to use this (below image)
Hence use this as a URL -