It's been a while since I've played around with the options, but I'm getting a little confused on how the add-ons work.
I've created three basic packages and configured the corresponding cPanel module. Each package has pricing for 1-, 3-, and 6-month terms and a 1-year term. The cPanel module correctly pulls the package names from the server and the package itself appears to behave as expected. I want to be able to create an additional service called "SSH Access". For the sake of example I'll be manually provisioning this feature on each order, so I'm not concerned with passing this additional data to cPanel.
If I add an option for "SSH Access" (a checkbox), two unexpected results happen:
1) No matter what combination I select the options with, the order form returns the error "One of the configurable options selected is not valid for the service". I've confirmed that the options are all in my "Accelerated Web Hosting" group, and the package is set to use the option.
2) The checkbox toggles itself. Let's say in step 1 of the ordering process I select a 3-month term. When I proceed to step 2, the SSH checkbox is checked. But if I change the term, it un-checks itself. If I change the term again, it re-checks itself. This process can be repeated indefinitely and I can always manually check or un-check the option.
Thinking that the options don't work the way I assumed they did, I tried creating SSH Access as an add-on. This works, but not as expected:
1) Step1: I select my plan with a 3-month term
2) Step2: I add my domain name and select 3 months of SSH access
3) Step2: The next page shows only the SSH access add-on, and lets me change the term
What I was expecting is that Step 2 would show the options and allow me to proceed to the order review step. Failing that, I was expecting Step 2 to show the add-on plans, with the next step being the order review. Instead, I'm getting a sort of Step 2.5 that has me re-select the SSH payment term.
I'm not sure where I'm going wrong, so let me ask this:
What is the proper way to add an option to a cPanel hosting package in Blesta, preferably so that the term for the option matches the term for the package?
Question
FRH Dave
It's been a while since I've played around with the options, but I'm getting a little confused on how the add-ons work.
I've created three basic packages and configured the corresponding cPanel module. Each package has pricing for 1-, 3-, and 6-month terms and a 1-year term. The cPanel module correctly pulls the package names from the server and the package itself appears to behave as expected. I want to be able to create an additional service called "SSH Access". For the sake of example I'll be manually provisioning this feature on each order, so I'm not concerned with passing this additional data to cPanel.
If I add an option for "SSH Access" (a checkbox), two unexpected results happen:
1) No matter what combination I select the options with, the order form returns the error "One of the configurable options selected is not valid for the service". I've confirmed that the options are all in my "Accelerated Web Hosting" group, and the package is set to use the option.
2) The checkbox toggles itself. Let's say in step 1 of the ordering process I select a 3-month term. When I proceed to step 2, the SSH checkbox is checked. But if I change the term, it un-checks itself. If I change the term again, it re-checks itself. This process can be repeated indefinitely and I can always manually check or un-check the option.
Thinking that the options don't work the way I assumed they did, I tried creating SSH Access as an add-on. This works, but not as expected:
1) Step1: I select my plan with a 3-month term
2) Step2: I add my domain name and select 3 months of SSH access
3) Step2: The next page shows only the SSH access add-on, and lets me change the term
What I was expecting is that Step 2 would show the options and allow me to proceed to the order review step. Failing that, I was expecting Step 2 to show the add-on plans, with the next step being the order review. Instead, I'm getting a sort of Step 2.5 that has me re-select the SSH payment term.
I'm not sure where I'm going wrong, so let me ask this:
What is the proper way to add an option to a cPanel hosting package in Blesta, preferably so that the term for the option matches the term for the package?
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.