Skip to Content Skip to Menu

CB Verify for Family Plan

  • adhillon
  • adhillon
  • ONLINE
  • Posts: 190
  • Thanks: 8
  • Karma: 1
2 days 11 hours ago #344538 by adhillon
CB Verify for Family Plan was created by adhillon
We want to implement CB Verify via Stripe, but limit the verification to the FamilyPlan primary subscriber only, and exclude the users 'invited' by the primary subscriber. 
Is this do-able?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50707
  • Thanks: 8692
  • Karma: 1475
15 hours 22 minutes ago - 15 hours 21 minutes ago #344540 by krileon
Replied by krileon on topic CB Verify for Family Plan
CB ID Verify protects pages not specific site features. So you'd need an isolated page for buying that plan and no other way to access it then protect that page for this to work.


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.
Last edit: 15 hours 21 minutes ago by krileon.

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

  • adhillon
  • adhillon
  • ONLINE
  • Posts: 190
  • Thanks: 8
  • Karma: 1
11 hours 33 minutes ago - 11 hours 24 minutes ago #344545 by adhillon
Replied by adhillon on topic CB Verify for Family Plan
How could we 'protect' the page. I am assuming no menu for the article and direct link to it via index.php. Am I correct, or is there another way?
I am also wondering if someone could type in the protected url manually and bypass security that way.

Once a member successfully completes identity verification, does CB ID Verify store the verified status in a CB field or another persistent user value that we can use elsewhere in Community Builder/Joomla?
 
Last edit: 11 hours 24 minutes ago by adhillon. Reason: added question

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50707
  • Thanks: 8692
  • Karma: 1475
11 hours 20 minutes ago #344546 by krileon
Replied by krileon on topic CB Verify for Family Plan
I can only think of 2 ways of doing that.

You'd have to hide the plan from the subscriptions tab, hide it from registration, then create a Joomla menu item to the plan followed by protecting that menu item. It's not exactly ideal nor the intended purpose of CB ID Verify to verify individual site features.

OR

Create a Joomla article with the explicit purpose of collecting id verification. Set CB ID Verify to verify that article. Next using CB Query Field use the following to get their latest verify state into a field.

Name: cb_idverified
Type: Query
Code:
SELECT `state` FROM `#__cbidverify_verified` WHERE `user_id` = '[user_id]' ORDER BY `date` DESC LIMIT 1

Now in your plan condition that the field has a value of 1, which would be a authorized state. This would hide the plan until they've verified their identity. That approach likely makes the most sense.


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.

  • adhillon
  • adhillon
  • ONLINE
  • Posts: 190
  • Thanks: 8
  • Karma: 1
11 hours 3 minutes ago #344547 by adhillon
Replied by adhillon on topic CB Verify for Family Plan
when state = 1, does that remain the member's effective verified state permanently unless verification is revoked, and what values represent failed, pending, expired or cancelled verification?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50707
  • Thanks: 8692
  • Karma: 1475
10 hours 44 minutes ago #344548 by krileon
Replied by krileon on topic CB Verify for Family Plan
Yes, 1 is the authorized state unless revoked or expired. Expiration date is stored in that table as well. Feel free to adjust the query however necessary. The states a verification can be in are as follows.

0 = cancelled / revoked
1 = authorized
2 = pending
3 = initialized / requested


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