ADMIN - Custom Field w/ Fee Values & Modify Duration Not Working Correctly

  • AdinaG
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 months 3 days ago #169303 by AdinaG
Hi,

I created a custom field "list" for my subscription plans that allows the user to select the length of their subscription with discounted prices for longer durations and that works correctly on the front-end and updates the price when you change it. But when I set up a new subscription in ADMIN it doesn't update.

It's almost as if the page either needs to either refresh after selecting a subscription plan or there needs to be a script that adds the field and allows you to select the option before actually creating the subscription/invoice.

I tried setting the subscription to "pending" first in admin but once I hit applied it already created a transaction ID. Then selected the option to extend the subscription from 6 months to 12 months but the amount and total amount don't update. Then set to active, hit apply and it kept the original price in admin of the subscription plan. The invoice shows the original 6 month price and duration even though I set it to 12 months.

I even tried editing the amount in ADMIN and was hoping it calculated the total price, but it didn't do that either.

Basically, I think it just needs to refresh the page when you select a plan so that it displays all the fields in ADMIN just like it does on the front-end before creating an invoice and activating the subscription. I would almost say set it to default to "pending" as well when adding in ADMIN.

I hope this make sense.

LIST OF WHAT'S NOT UPDATING
- Price in ADMIN aren't updating or calculating if you enter manually
- Duration in ADMIN
- Prices on INVOICE
  - If I manually updated the "AMOUNT" in ADMIN, on the invoice it still keeps the default price of the plan, but the other payment info updates.
- Duration on INVOICE
  - If I manually updated the "END DATE" in ADMIN, on the invoice it still keeps the default 6 months on the plan even though the Custom field said to +6 months.
- I cant say anything on TAX because I don't have to apply it in my state.

What DOES Work
- Joomla Group IDs

I also received an admin email even though it wasn't active, not sure if that's correct.

Can someone please take a look at this?

Thanks
Adina

Please Log in or Create an account to join the conversation.

More
2 months 2 days ago #169307 by Tuan Pham Ngoc
Hi Adina

There is limitation when you setup subscription record in the admin. Here are few things base on what you described here :

- If you want the system to calculate the payment amount when you make the change, please empty the values you entered into amount fields. In case these fields empty, the system will re-calculate the fee, not when you change but after you press Save button
- The subscription duration, unfortunately, could not be changed by the system automatically. So if you change the duration from custom fields, please also change the Subscription End Date of the subscription manually

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc