[SOLVED] [#9091] Programmatically invoice a subscriber

1 year 3 months ago #331998 by 3by400Inc
Replied by 3by400Inc on topic Programmatically invoice a subscriber
I've tried as you suggested and it made no difference in preventing access to the addplanstobasket URL, unfortunately.

Here are the changes I tested, setting each one-by-one with a test between each, and a final test with all three changes in place:
-- I set the integer number field to Read Only - No
-- I moved the field to a tab with the Public access
-- I set to show on the profile

Please Log in to join the conversation.

1 year 3 months ago #332001 by krileon
Replied by krileon on topic Programmatically invoice a subscriber
Was able to confirm something going wrong with the condition check when using the direct add to basket URLs. Am investigating further.

forge.joomlapolis.com/issues/9091


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.

1 year 3 months ago #332003 by krileon
Replied by krileon on topic Programmatically invoice a subscriber
This is now fixed in latest CBSubs build release. Please let me know if you've any further issues with direct add to basket URLs.


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.

1 year 3 months ago - 1 year 3 months ago #332013 by 3by400Inc
Replied by 3by400Inc on topic Programmatically invoice a subscriber
I've installed the latest update of CB Subs and now access to the addplanstobasket URL condition is returning false every time. Big problem. I then disabled the condition and I'm still not able to successfully access the plan via the addplantobasket URL. The URL loads the "Upgrade to this subscription is not possible".

I'm going to try rolling back to an earlier version.

Please Log in to join the conversation.

1 year 3 months ago - 1 year 3 months ago #332015 by krileon
Replied by krileon on topic Programmatically invoice a subscriber
Your condition or access on the plan may not be correct in that case. I've tested the following condition and this works fine.

Date A, Field A or Value A: Following CB Field
CB Field A: TEXT_FIELD_HERE
Date B, Field B or Value B: Constant Value or String (CB substitutions can be used)
Value B: ACTIVE
Condition 1 (> for Dates): A = B (Value A is equal to Value B )

Please provide what your condition is and also check your access parameters. Some of this was being ignored for addplantobasket and now behaves same as displayplans endpoint.


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.

1 year 3 months ago - 1 year 3 months ago #332022 by krileon
Replied by krileon on topic Programmatically invoice a subscriber
Believe I found the cause. URL only access was not being handled correctly by addtobasket either. This is now fixed in latest build release.

forge.joomlapolis.com/issues/9092


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.
The following user(s) said Thank You: 3by400Inc

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.243 seconds

Facebook Twitter LinkedIn