-
-
Notifications
You must be signed in to change notification settings - Fork 810
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51e4d25
commit 59ae2ae
Showing
1 changed file
with
6 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -321,17 +321,20 @@ public function testIPNPaymentMembershipRecurSuccessNoLeakage(): void { | |
'Anderson', | ||
'Email Address', | ||
'[email protected]', | ||
'Honor', | ||
'This membership will be automatically renewed every', | ||
'Dear Anthony', | ||
'Thanks for your auto renew membership sign-up', | ||
'In Memory of', | ||
]); | ||
$mails = $mut->getAllMessages(); | ||
foreach ($mails as $mail) { | ||
$mut->checkMailForStrings([], ['Honor'], '', $mail); | ||
} | ||
$mut->clearMessages(); | ||
$this->_contactID = $this->individualCreate(['first_name' => 'Antonia', 'prefix_id' => 'Mrs.', 'email' => '[email protected]']); | ||
|
||
// Note, the second contribution is not in honor of anyone and the | ||
// receipt should not mention honor at all. | ||
// Note, the second contribution is not in memory of anyone and the | ||
// receipt should not mention memory at all. | ||
$this->setupMembershipRecurringPaymentProcessorTransaction(['is_email_receipt' => TRUE], ['invoice_id' => '345']); | ||
$IPN = new CRM_Core_Payment_AuthorizeNetIPN($this->getRecurTransaction(['x_trans_id' => 'hers'])); | ||
$IPN->main(); | ||
|