@@ -184,7 +184,7 @@ protected function getGoBackUrl($qfKey) {
184
184
protected function getNotifyUrl ($ allowLocalHost = FALSE ) {
185
185
if (omnipaymultiprocessor__versionAtLeast (4.6 )) {
186
186
$ url = CRM_Utils_System::url (
187
- 'civicrm/payment/ipn/ ' . $ this ->_paymentProcessor ['id ' ],
187
+ 'civicrm/payment/ipn/ ' . $ this ->transaction_id . ' / ' . $ this -> _paymentProcessor ['id ' ],
188
188
array (),
189
189
TRUE ,
190
190
NULL ,
@@ -214,9 +214,7 @@ protected function getNotifyUrl($allowLocalHost = FALSE) {
214
214
*/
215
215
protected function storeReturnUrls ($ qfKey , $ participantID = NULL , $ eventID = NULL ) {
216
216
CRM_Core_Session::singleton ()->set ("ipn_success_url_ {$ this ->transaction_id }" , $ this ->getReturnSuccessUrl ($ qfKey ));
217
- CRM_Core_Session::singleton ()->set ("ipn_success_url_fallback " , $ this ->getReturnSuccessUrl ($ qfKey ));
218
217
CRM_Core_Session::singleton ()->set ("ipn_fail_url_ {$ this ->transaction_id }" , $ this ->getReturnFailUrl ($ qfKey , $ participantID , $ eventID ));
219
- CRM_Core_Session::singleton ()->set ("ipn_fail_url_fallback " , $ this ->getReturnFailUrl ($ qfKey , $ participantID , $ eventID ));
220
218
}
221
219
222
220
/**
@@ -239,7 +237,7 @@ protected function storeTransparentRedirectFormData($key, $data) {
239
237
* Url to redirect to
240
238
*/
241
239
protected function getStoredUrl ($ type ) {
242
- return CRM_Core_Session::singleton ()->get ("ipn_ {$ type }_url_ " . ( $ this ->transaction_id ? : ' fallback ' ) );
240
+ return CRM_Core_Session::singleton ()->get ("ipn_ {$ type }_url_ { $ this ->transaction_id }" );
243
241
}
244
242
245
243
/**
0 commit comments