Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED]how to get a promotion for subsubs renewal in real time

  • erilam
  • erilam
  • OFFLINE
  • Posts: 787
  • Thanks: 98
  • Karma: 22
9 years 10 months ago - 9 years 10 months ago #258240 by erilam
Hello,

On a cbsubs I have several plan and two promotion wich are apply with conditional (CB Fields Comparisons). Everything works fine for sucbscription and "normal" renewal but if members edit his profile and change the value of the field (the field used for comparison) and clic on the renewal button the promotion are not upgrade.
If I clic on cancel for this renewal and I clic another time on the renewal button then promotion are updated.
So my question is : how can I set CB/cbsubs to get an update of the promotion just before the profile edit ?

Thx for answers

CB 1.9.1, Cbsubs 3.0.0

Eric Lamy (erix)
www.agerix.fr/
Last edit: 9 years 10 months ago by erilam. Reason: answer given

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
9 years 10 months ago #258249 by krileon
If the basket already exists, they navigate to profile edit, change the field, then click renewal they are getting the old basket. They need to cancel the basket before changing their profile field or it won't recalculate. Please provide the exact steps you're performing to cause this.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • erilam
  • erilam
  • OFFLINE
  • Posts: 787
  • Thanks: 98
  • Karma: 22
9 years 10 months ago #258265 by erilam
ok here is the process step by step

first I go to my profile, tab subscription



I click on renewal




You can see that on this profile we have the two promotions actives

I retun to my profile and edit the profil to set the first promotion to "no" (promotion called "Supplément co-adhésion SFR = 29€"




The I save my profile and I see that the first promotion is on "non"



And if I click on renewal I have the same invoice



Then I click on "annulez paiement et souscription" (means "cancel paiement and subscription")





and return to my profile




I click on the button renewal ("Réactiver") and the new invoice is now correct





So my question is how can I do to have the last invoice directly, without cancel and return to my profile once again ?

Thx for answers

Eric Lamy (erix)
www.agerix.fr/

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
9 years 10 months ago #258297 by krileon

I retun to my profile and edit the profil to set the first promotion to "no" (promotion called "Supplément co-adhésion SFR = 29€"

When performing this step are you first cancelling the basket or are you just navigating away?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • erilam
  • erilam
  • OFFLINE
  • Posts: 787
  • Thanks: 98
  • Karma: 22
9 years 10 months ago #258307 by erilam
just navigation away. And when I read your answer I test to modify before renewal and it works fine.
So if I understand the "bug" is that if I try to renewal before modify my profile I see the first invoice and if I go to modify my profile without cancelling the next invoice, after modification, is the same because the system keep in mind the first invoice, that's it ?

So if I understand I have to explain to members that modification of their profile has to be made before renewal or after cancelling the first display, that's it ?

Eric Lamy (erix)
www.agerix.fr/

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
9 years 10 months ago #258311 by krileon
Yes, the system keeps the basket and redisplays it. It doesn't recalculate the totalizers unless it has to. Click to renew, click to cancel the basket, edit your profile, then click to renew and it should be working fine. The steps you're doing are extremely unlikely for a user to perform. Unpaid baskets like this also expire after a few hours so it's also unlikely to happen if they edit their profile a bit later in the day.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum