-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from aghstrategies/partiallypaid
AGH #18534 handle payments completing pay later contributions
- Loading branch information
Showing
3 changed files
with
105 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,10 @@ | |
<email>[email protected]</email> | ||
</maintainer> | ||
<releaseDate>2017-12-12</releaseDate> | ||
<version>2.3</version> | ||
<version>2.4</version> | ||
<develStage>stable</develStage> | ||
<compatibility> | ||
<ver>4.6</ver> | ||
<ver>4.7</ver> | ||
<ver>5.13</ver> | ||
<ver>5.18</ver> | ||
</compatibility> | ||
<urls> | ||
<url desc="documentation">https://aghstrategies.com/content/event-additional-signup-extension</url> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Scenario: Completing pay-later payments for an event with an additional event signup | ||
Given Event Additional Signup is installed | ||
And two events are set up | ||
And the first event has online registration enabled with a price set that has a field with an option where the second event is selected for an additional signup | ||
And a contact has registered for the first event with Pay Later, causing a pending contribution and two pending participant records | ||
When an admin user clicks Record Payment on the contribution | ||
And the payment is equal to the total amount due | ||
Then the contribution should have the status Completed | ||
And the participant record for the second event should have the status Registered | ||
|
||
Scenario: Making partial payments for an event with an additional event signup | ||
Given Event Additional Signup is installed | ||
And two events are set up | ||
And the first event has online registration enabled with a price set that has a field with an option where the second event is selected for an additional signup | ||
And a contact has registered for the first event with Pay Later, causing a pending contribution and two pending participant records | ||
When an admin user clicks Record Payment on the contribution | ||
And the payment is less than the total amount due | ||
Then the contribution should have the status Partially Paid | ||
And the participant record for the second event should have the status Partially Paid | ||
|
||
Scenario: Completing partial payments for an event with an additional event signup | ||
Given Event Additional Signup is installed | ||
And two events are set up | ||
And the first event has online registration enabled with a price set that has a field with an option where the second event is selected for an additional signup | ||
And a contact has registered for the first event with Pay Later, causing a pending contribution and two pending participant records | ||
And a partial payment has been made, with the status of the contribution record and the two participant records being Partially Paid | ||
When an admin user clicks Record Payment on the contribution | ||
And the payment is equal to the remaining amount due | ||
Then the contribution should have the status Completed | ||
And the participant record for the second event should have the status Registered |