Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Test CaseDescriptionExpected ResultTest ResultComments

3.1 Operations on existing payment plans





1Update payment plan
  • "Number of instalment" field should be readonly if the recurring contribution is using a payment processor with "Payment_Manual" class.
  • "Auto Renew?" field available on "Update Recurring Contribution" form
  • "Payment Method" and "Cycle Day" field available on "Update Recurring Contribution" form.
  • When admin click on save on "Update Recurring Contribution" form, if "Payment Method" or "Cycle Day" is changed, a popup should appear asking "Do you want to update any outstanding instalment contribution with the new Payment Method/ Cycle Day?".
    • If "No" → No existing contribution will get affected.
    • If "Yes" → Any existing Pending contribution under the recurring contribution will reflect the new "Payment Method" and "Cycle Day".
P
2Cancel existing payment plan
  • When cancelling a recurring contribution, a popup will show up and ask for confirmation. A new dialog box containing two checkbox options should be used to replace the popup.
  • The first checkbox is "Do you wish to cancel any pending instalment contribution?" which if checked and confirmed, as a result, all "Pending" contributions that are linked to the recurring contribution will also be cancelled.
  • The second checkbox is "Do you wish to cancel any linked membership?" which if checked and confirmed, as a result, all memberships that are linked to the recurring contribution will also be cancelled.
  • <add last comment mentioned in the ticket> 
In-progress

BASW-113

Auto-refresh is not happening

3

Set Membership to Override Permanently = Cancelled if;

  • Membership Status Override = "Override until selected date" and "cancel membership" option selected in the popup when cancelling a recurring contribution
  • Membership Status Override = No and "cancel membership" option selected in the popup when cancelling a recurring contribution
P
4

Make sure cancelling a installment contribution does not cancel the linked membership

5BASW-123- Cancelling a installment contribution should not cancel the linked membership
When a contribution a membership is linked to gets cancelled and there isn't any other completed contribution , Membership should get cancelled for Recurring Contribution using Offline Payment
  • What is the behaviour when the 2nd checkbox is "Do you wish to cancel any linked membership?" is selected?
  •  Will the expected work without selecting 2nd checkbox?
  • Spec is not updated with this ticket requirement
6

When a contribution a membership is linked to gets cancelled and when a payment plan is in place(Status other than 'Completed'), membership should get cancelled for Recurring Contribution using Offline Payment

7

When a contribution a membership is linked to gets cancelled and there isn't any other completed contribution , Membership should get cancelled for Recurring Contribution using other non-offline Payment

8

When a contribution a membership is linked to gets cancelled and when a payment plan is in place(Status other than 'Completed'), membership should NOT get cancelled for Recurring Contribution using other non-offline Payment


3.2 Membership Price Update





9Update membership fee when offline auto-renew
  • "Payment Plan Settings" menu available under Administer menu.
  • In the settings page, a configuration checkbox "Use latest price when auto renew membership?" should be provided
P
10

  • If the "Use latest price when auto renew membership?" is not checked, nothing changes.
  • If the "Use latest price when auto renew membership?" is checked, when an offline auto renew membership is being renewed by the "Renew offline auto-renewal memberships" scheduled job
    • the generated contribution/ recurring contribution should reflect the current membership fee configured in the corresponding membership type for each membership line included in the recurring contribution
    • the line items and other sub-entities of the generated contributions should also reflect the current membership fee configured in the corresponding membership type
P
11Offline auto-renew option
  • "Offline auto-renew option" custom field-set available under Membership Entity with boolean custom field "Opt-out auto price update for offline auto-renew".
P
12

  • When"Opt-out auto price update for offline auto-renew" = True and "Use latest price when auto renew membership?" = True →  membership should not reflect the new price when it gets auto-renewed by the offline auto-renew scheduled job.
  • When"Opt-out auto price update for offline auto-renew" = False and "Use latest price when auto renew membership?" = True →  membership should reflect the new price when it gets auto-renewed by the offline auto-renew scheduled job.
P
13BASW-211- Payment plan settings - custom group to be excluded when auto-renew
Validation of new setting "Custom group to be excluded when auto-renew" in "Payment Plan Settings" menu available.
Ticket details are not available in functional spec.
14

The setting should be a auto-complete multi-select field with all enabled contribution custom group as options.

15

If a custom group is selected and saved into this setting, when a membership auto-renews, the values in that custom group fields will not be copied over to the new contributions

16

This applies to the renewal for both payment plans in instalments and payment plans not in instalments.

17

Validate the use help Text provided

18

Validate whether only enabled Custom Groups are displayed in the setting


3.3 Line Item Edit





19Permissions
  • Only "edit contribution" permission gives access to Action button "View/Modify Future Instalments" in recurring contribution.
  • Also check if can access Manage Instalment modal through URL
P
20Offline Recurring Contribution Line Item Table

Db table "membershipextras_subscription_line" created upon installation of extension.

Following table fields created

  • contribution_recur_id - integer - required
  • line_item_id - integer - required
  • start_date - date
  • end_date - date
  • auto_renew - boolean
  • is_removed - boolean
Phttps://compucorp.atlassian.net/browse/BASW-206
21Create Line Item for Offline Recurring Contribution and create referenceWhen a payment plan with payment manual class is created.
  • Create a copy of the line item with instalment contribution
  • contribution_id is NULL for copied line item
  • New record filled into "membershipextras_subscription_line" with:
    • contribution_recur_id - id of recurring contribution
    • line_item_id -  line item id copied from the instalment contribution
    • start_date - start date of recurring contribution
    • end_date - empty
    • auto_renew -
      • true: if recurring contribution is auto renewed
      • false: if not auto renewed
  • is_removed - false
Phttps://compucorp.atlassian.net/browse/BASW-206
22BASW-212- View/Modify Future Instalments action - current periodAction buttons
  • Action button "View/Modify Future Instalments" added to payment plan with payment manual class.
  • No action button on non payment manual class payment plans
  • Once button selected modal "Manage Instalments" pops up
  • Current Period tab is set as default
P
23
Row items

Following two conditions have to be met:

  • Each line item should have a start date
  • is_removed flag = false
P
24

Each row contains:

  • Item - line item label
  • Start Date - start date of line item
  • End Date - largest end date in all the linked memberships
  • Renew automatically - checked if recurring contribution set to auto renew
  • Financial type - financial type of line item
  • Tax - 
    • Percentage of financial type 
    • N/A if no tax in financial type 
  • Amount - line item total with no tax
  • Remove button - bin icon
P
25
Action buttons within "Manage Instalments" pop
  • Add Membership
  • Add Other Amount
  • Close
P
26
Bottom of tab
  • Untaxed amount (total of all amounts)
  • Tax (total of all line item taxes)
  • Total per instalment (Untaxed amount + Tax)
Phttps://compucorp.atlassian.net/browse/BASW-212
27

If the number of instalments of the payment plan is empty or 0, "membershipextras_subscription_line" with an end date should also be excluded from the view
How to validate this? As it is not possible to have 0 installaments while creating membership.
When checked with 1 installement, popup is working as usual
28

Validate the above steps for a recurring contribution in 'Pending StatusP
29

Validate the above steps for a recurring contribution in 'Completed' StatusIn-progressObservation: For Member 'Alan Jones, Membership details are blank though it has recurring contribution with the status as 'Completed'
Member Sheela S
- Recurring Contribution with Completed status - Showing blank membership details in the popup
- Auto Renewed next year contribution is also blank
30

Validate the above steps for a recurring contribution in 'In-Progress' StatusP
31

When a line was added on next period, it should not show on current periodP
32BASW-217-View/Modify Future Instalments action - next period


Next period tab shows up if recurring contribution has autorenewal. If not do not show auto renewal

P
33

  • All line items that have auto renew should be shown on next period tab (ie; the ones which are renew automatically true in current period)
  • is_removed = false
P
34

Each line item row has following details:

  • Item - line item label
  • Financial Type - of line item 
  • Tax - percentage of financial type, show N/A if no tax
  • Amount - line item total
  • Bin icon - to delete line item
P
35
Action buttons
  • Add Membership
  • Add Other Amount
  • Close
P
36
Bottom of tab
  • Untaxed amount (total of all amounts)
  • Tax (total of all line item taxes)
  • Total per instalment (Untaxed amount + Tax)
P
37Remove line item - Current Period

On delete operation:

  • if its only remaining line item:
    • then show warning "Cannot remove the last item in an order" 
    • cancel operation and line item should not be removed
  • if more then one line item:
    • show modal with title "Remove <line item label> ?" 
Phttps://compucorp.atlassian.net/browse/BASW-218
38
Remove modal components
  • Has text: "The end date of the <line item label> will be set to today. If you want the <line item label> to end on a different date, you can adjust it below. <line item label> amount will be deducted from all remaining instalments after the new end date. Please note the changes should take effect immediately after clicking “Apply”."
  • Adjust end date - checkbox
  • End date - default to today, show date picker, only if "Adjust end date" is checked 
  • Cancel button
  • Apply button
Phttps://compucorp.atlassian.net/browse/BASW-218
39
Action buttons - Apply
  • If "Adjust end date" not checked: membershipextras_subscription_line.end_date = today
  • If "Adjust end date" is checked: membershipextras_subscription_line.end_date = date picked 
Phttps://compucorp.atlassian.net/browse/BASW-218
40

  • membershipextras_subscription_line.auto_renew = false
  • is_removed = true
Phttps://compucorp.atlassian.net/browse/BASW-218
41

If pending instalments with "Received date" => end_date: 

  • line items quantity set to zero
  • contribution amount corrected to new instalment amount 
  • net amount and tax amount and total amount reflect the changes
Phttps://compucorp.atlassian.net/browse/BASW-218
42

If membership line item removed:

  • membership end date must use new end date 
Phttps://compucorp.atlassian.net/browse/BASW-218
43

Following notices appear on successful removal:

  • "<line item label> has been removed from the active order"
  •  "<line item label> should no longer be continued in the next period"
Phttps://compucorp.atlassian.net/browse/BASW-218
44

Line items updated on Current Period screen 

  • untaxed amount, tax and total per instalment should reflect the changes
  • if auto_renew for removed line item is true, should no longer appear on next period tab
Phttps://compucorp.atlassian.net/browse/BASW-218
45
Action buttons - Cancel

No line item removed

Phttps://compucorp.atlassian.net/browse/BASW-218
46Remove line item - Next Period

On delete operation:

Modal with title "Remove <line item label> as title

Phttps://compucorp.atlassian.net/browse/BASW-219
47
Remove modal components
  • Has text "Please note the changes should take effect immediately after "Apply"."
  • Cancel button
  • Apply button
Phttps://compucorp.atlassian.net/browse/BASW-219
48
Action buttons - Apply
  • membershipextras_subscription_line.auto_renew = false
  • If line item is membership: remove civicrm_membership.contribution_recurr_id 
  • Notice with text: "<line_item_label> should no longer be continued in the next period."
  • Manage instalments modal reloads
  • "is_removed" = true
  • untaxed amount, tax and total per instalment reflect changes
In progress

https://compucorp.atlassian.net/browse/BASW-219


Pending fix & issues

49

Recurring contribution and membership gets updated to show Auto Renew = No Phttps://compucorp.atlassian.net/browse/BASW-219
50
Action buttons - Cancel
  • No line item removed
Phttps://compucorp.atlassian.net/browse/BASW-219
51
Renew automatically unchecked in Current Period tab
  • Perform same operation as 32, 33
In-progresshttps://compucorp.atlassian.net/browse/BASW-219
52

Keep the Next Period tab even if all the line items with “auto_renew“ = 1 are removed when the last line item is removed from Next period
Yet to be fixed
53

Auto renew flag from the membership gets removed and the same should reflect in the recurring contribution view page
Open issue
54

Likewise when you add a Auto Renew flag from the recurring contribution edit modal (Recurring Contributions → Edit → check Auto Renew) then it does not update the Renew Automatically checkbox and Next Period tab.
Open issue
55Add membership line item - Current Period+ Add Membership

New row with following items:

  • Item - dropdown - required field
    • list membership types not belonging to any membership org of existing line items
  • Start date - datepicker - required field
    • default to todays date or
    • if active membership of same membership type exists, then set to membership start date 
  • End date - datepicker - required field
    • default to largest in all linked memberships
  • Renew automatically - checkbox 
    • checked by default
    • only show if auto renewal recurring contrib
  • Financial Type - text field
    • financial type of membership selected in item dropdown
  • Tax -  text field
    • tax percentage of financial type
    • none if no tax in financial type
  • Amount  - money - required field
    • default to minimum of membership type fee / no. of isntalments
  • Confirm and Cancel action icons
In progresshttps://compucorp.atlassian.net/browse/BASW-220
56

  • If row addition not completed yet, do not allow other row items to be be clickable.
  • If user tries to click on other row items - row should flash 
Phttps://compucorp.atlassian.net/browse/BASW-220
57
Confirm Action (check icon)

If check icon clicked:

  • If no pending instalment with Received date => today or start date (choose the latest) show notice with text:
    • "No outstanding instalment contribution from the selected start date. Suggest to follow the steps below:
      1. Add the the item to next period instead.
      2. (optional) Create the membership or contribution outside the recurring order."
  • If there are pending instalment contributions with Received Date => today or start date (choose the latest) show dialog with title: "Add <line_item_label>?" should appear with the following:
    • Dialog text: "Please note the changes should take effect immediately after "Apply".
    • "Adjust the amount of the first instalment" checkbox.
    • "First instalment amount" money text field. Default to instalment amount. Show only if "Adjust the amount of the first instalment" checkbox is ticked.
    • Cancel button
    • Apply button
Phttps://compucorp.atlassian.net/browse/BASW-220
58
Cancel Action (cross icon)

If cross icon clicked the row should be removed and no change done

Phttps://compucorp.atlassian.net/browse/BASW-220
59

Apply Action on dialog

  • Line item with empty contribution_id created in civicrm_line_item table. Tax amount calculated: amount * tax rate
  • membershipextras_subscription_line row created. 
    • link line item and recurring contribution
    • start date is selected start date
    • end date empty
  • For pending instalment contributions with Received date => today / start date (choose latest);
    • copy of line item added
    • contribution amount adjusted and tax adjusted
    • if  "Adjust the amount of the first instalment" is used, 1st pending instalment contribution = "First instalment amount"
  • If a membership of same membership type doesn't exist:
    • new membership should be created with start and end date 
    • link it to all pending instalment contribution with Received date => today / start date (choose latest)
  • If a membership of same membership type exists:
    • update it with new start and end date
    • link it to all pending instalment contribution with Received date => today / start date (choose latest)
  • If auto renew checked;
    • membershipextras_subscription_line.auto_renew = true
    • membership contribution_recurr_id = the id of recurring contribution
  • If auto renew not checked;
    • membershipextras_subscription_line.auto_renew = false
    • membership contribution_recurr_id = emptied
  • Show notice: "line_item_label" will now be continued in the next period.
  • "Manage Instalments" modal reloads
In-progress

https://compucorp.atlassian.net/browse/BASW-220


  • Line item with empty contribution_id created in civicrm_line_item table - Not working
60
Cancel Action on dialogNo changePhttps://compucorp.atlassian.net/browse/BASW-220
61Add other line item - Current Period+ Add Other Amount

New row with following items:

  • Item - dropdown - required field
    • list membership types not belonging to any membership org of existing line items
  • Start date - datepicker - required field
    • default to todays date 
  • End date - text - N/A
  • Renew automatically - checkbox 
    • checked by default
    • only show if auto renewal recurring contrib
  • Financial Type - text field
    • financial type of membership selected in item dropdown
  • Tax -  text field
    • tax percentage of financial type
    • none if no tax in financial type
  • Amount  - money - required field
  • Confirm and Cancel action icons

https://compucorp.atlassian.net/browse/BASW-221
62

  • If row addition not completed yet, do not allow other row items to be be clickable.
  • If user tries to click on other row items - row should flash 

https://compucorp.atlassian.net/browse/BASW-221
63
Confirm Action (check icon)

If check icon clicked:

  • If no pending instalment with Received date => today or start date (choose the latest) show notice with text:
    • "No outstanding instalment contribution from the selected start date. Suggest to follow the steps below:
      1. Add the the item to next period instead.
      2. (optional) Create the membership or one off contribution outside the recurring order."
  • If there are pending instalment contributions with Received Date => today or start date (choose the latest) show dialog with title: "Add <line_item_label>?" should appear with the following:
    • Dialog text: "Please note the changes should take effect immediately after "Apply".
    • "Adjust the amount of the first instalment" checkbox.
    • "First instalment amount" money text field. Default to instalment amount. Show only if "Adjust the amount of the first instalment" checkbox is ticked.
    • Cancel button
    • Apply button

https://compucorp.atlassian.net/browse/BASW-221
64
Cancel Action (cross icon)If cross icon clicked the row should be removed and no change donePhttps://compucorp.atlassian.net/browse/BASW-221
65
Apply Action on dialog
  • Line item with empty contribution_id created. Tax amount calculated: amount * tax rate
  • membershipextras_subscription_line row created. 
    • link line item and recurring contribution
    • start date is selected start date
    • end date empty
  • For pending instalment contributions with Received date => today / start date (choose latest);
    • copy of line item added
    • contribution amount adjusted and tax adjusted
    • if  "Adjust the amount of the first instalment" is used, 1st pending instalment contribution = "First instalment amount"
  • If auto renew checked;
    • membershipextras_subscription_line.auto_renew = true
    • Notice: "line_item_label" will now be continued in the next period."
  • If auto renew unchecked;
    • membershipextras_subscription_line.auto_renew = false
    • Notice: "line_item_label" has been added to the active order."
  • Manage Instalments" modal reloads
In progresshttps://compucorp.atlassian.net/browse/BASW-221
66
Cancel Action on dialogNo changePhttps://compucorp.atlassian.net/browse/BASW-221
67Add membership line item - Next Period+ Add Membership

New row with following items:

  • Item - dropdown - required field
    • list membership types not belonging to any membership org of existing line items
  • Financial Type - text field
    • financial type of membership selected in item dropdown
  • Tax -  text field
    • tax percentage of financial type
    • none if no tax in financial type
  • Amount  - money - required field
    • default to minimum of membership type fee / no. of isntalments
  • Confirm and Cancel action icons
In progress

https://compucorp.atlassian.net/browse/BASW-222

Two open issues related to Financial Type & Tax%

68

  • If row addition not completed yet, do not allow other row items to be be clickable.
  • If user tries to click on other row items - row should flash 
Phttps://compucorp.atlassian.net/browse/BASW-222
69
Cancel Action (cross icon)If cross icon clicked the row should be removed and no change donePhttps://compucorp.atlassian.net/browse/BASW-222
70
Confirm Action (check icon)When user clicked on the check icon, a dialog with title "Add <line_item_label>?" should appear with the following components:
  1. dialog body text - "Please note the changes should take effect immediately after "Apply"."
  2. Cancel button
  3. Apply button
Phttps://compucorp.atlassian.net/browse/BASW-222
71

Apply action on dialog

  • Line item with empty contribution_id created. Tax amount calculated: amount * tax rate
  • membershipextras_subscription_line row created. 
    • link line item and recurring contribution
    • start date empty
    • end date empty
  • Notice: "line_item_label" will now be continued in the next period."
  • "Manage Instalments" modal reloads
Phttps://compucorp.atlassian.net/browse/BASW-222
72
Cancel action on dialogAction cancelled and no change is made.Phttps://compucorp.atlassian.net/browse/BASW-222
73
User can also check "Renew automatically" field for any of membership lines in "Current period" tab to perform the same action.
  1.  A notice with warning sign will appear with text "This membership type is already enrolled in next period." when there is another membershipextras_subscription_line:
    1. linked to a line item with same membership type and membershipextras_subscription_line
    2. end date is empty
    3. auto-renew is TRUE
  2. If user checks the "Renew automatically" field for any of membership lines in "Current period" tab and the scenario in point 8 does not apply, point 5-7 should apply here.


In-progressP

https://compucorp.atlassian.net/browse/BASW-222

Pending issues

74

Cases 46,47,48 should apply if
https://compucorp.atlassian.net/browse/BASW-222
75Add other line item - Next Period+ Add Other Amount

New row with following items:

  • Item - text - required field
  • Financial Type - select - with all financial types
  • Tax -  text field
    • tax percentage of financial type
    • none if no tax in financial type
  • Amount  - money - required field
  • Confirm and Cancel action icons
In ProgressP

https://compucorp.atlassian.net/browse/BASW-223

Open Issues

76

  • If row addition not completed yet, do not allow other row items to be be clickable.
  • If user tries to click on other row items - row should flash 
Phttps://compucorp.atlassian.net/browse/BASW-223
77
Cancel Action (cross icon)If cross icon clicked the row should be removed and no change donePhttps://compucorp.atlassian.net/browse/BASW-223
78
Confirm Action (check icon)When user clicked on the check icon, a dialog with title "Add <line_item_label>?" should appear with the following components:
  1. dialog body text - "Please note the changes should take effect immediately after "Apply"."
  2. Cancel button
  3. Apply button
Phttps://compucorp.atlassian.net/browse/BASW-223
79
Apply action on dialog
  • Line item with empty contribution_id created in civicrm_line_item. Tax amount calculated: amount * tax rate 
  • membershipextras_subscription_line row created. 
    • link line item and recurring contribution
    • start date empty
    • end date empty
  • Notice: "line_item_label" will now be continued in the next period."
  • "Manage Instalments" modal reloads
In-progressP

https://compucorp.atlassian.net/browse/BASW-223


Line item with empty contribution_id created in civicrm_line_item - Not working

80
Cancel action on dialogAction cancelled and no change is made.Phttps://compucorp.atlassian.net/browse/BASW-223
81
User can also check "Renew automatically" field for any of other amount lines in "Current period" tab to perform the same action.

Test cases 61 to 63 also apply here.

In progressP

https://compucorp.atlassian.net/browse/BASW-223

Open observations in 'Renew-Automatically' field logic

82
Error validationError message validation for missing fields & the displayIn progressOpen observation
83

Validate if user is add same line item row with same values(Duplicate entryIn progressOpen observation

...