[#6808] CBSubs URL integration question about upgrade

6 years 6 months ago #297813 by activha
Replied by activha on topic CBSubs URL integration question about upgrade
That could work with substitution if I could translate for instance the string :
[var3]-plan-name to a language text string accordingly in the key value

This would limit the auto actions to 4 only :)

Please Log in to join the conversation.

6 years 6 months ago #297823 by krileon
Replied by krileon on topic CBSubs URL integration question about upgrade
Translations are supported, but they happen before substitutions. So you won't be able to dynamically generate a language key like that. You can also just use IF substitutions to condition different text. Example as follows.

[cb:if var3="1"]
Plan 1
[cb:elseif var3="2"]Plan 2[/cb:elseif]
[cb:elseif var3="3"]Plan 3[/cb:elseif]
[cb:elseif var3="4"]Plan 4[/cb:elseif]
[/cb:if]

See substitution below for further substitution usage information.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb


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 to join the conversation.

6 years 6 months ago - 6 years 6 months ago #297861 by activha
Replied by activha on topic CBSubs URL integration question about upgrade
Understood !
If we substitute 5 different text strings for 30 plans id, will it still be ok to work with or would it be too slow to handle ?

Do you have a timetable for CBSubs URL fix ? ;-)

BTW : would cbif works with CBSubs gateways ? for instance could I condition the owner to the status connected of a user or better to a plan id ?

Please Log in to join the conversation.

6 years 6 months ago #297862 by krileon
Replied by krileon on topic CBSubs URL integration question about upgrade

If we substitute 5 different text strings for 30 plans id, will it still be ok to work with or would it be too slow to handle ?

You can substitute as much as you want. No, it won't be slow to handle.

Do you have a timetable for CBSubs URL fix ?

I don't know. I'm still working on recurring payments for Stripe.

BTW : would cbif works with CBSubs gateways ? for instance could I condition the owner to the status connected of a user or better to a plan id ?

I don't understand what you mean. Again, you can substitute all the variables the trigger provides. Beyond that you've regular profile substitutions. If you need to execute functions you can do so using Format Functions.


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 to join the conversation.

6 years 6 months ago #297905 by krileon
Replied by krileon on topic CBSubs URL integration question about upgrade
Ok, rewrote the CBSubs URL integration to use Guzzle. There's also a new parameter to specify the Get body instead of having to cram all the variables into the URL (both will work, but the new param is easier to read and setup). You'll also be able to add header variables as well. These changes are still pending review and once merged a new nightly will be released.


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 to join the conversation.

6 years 6 months ago #297913 by activha
Replied by activha on topic CBSubs URL integration question about upgrade
Thanks a lot !

BTW I am reviewing Stripe since you are developing recurring payments.
I have read that Stripe accepts SEPA for recurring transactions and subscriptions

With your gateway could we have an annual plan of 360 € paid in 12 monthly SEPA payments with Stripe ?

This is exactly what we are looking for

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.241 seconds

Facebook Twitter LinkedIn