File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Test/Unit/Controller/Payflow Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function execute()
68
68
if ($ order ->getIncrementId ()) {
69
69
if ($ this ->checkOrderState ($ order )) {
70
70
$ redirectBlock ->setData ('goto_success_page ' , true );
71
- $ this ->_eventManager ->dispatch ('checkout_success ' , ['order ' => $ order ]);
71
+ $ this ->_eventManager ->dispatch ('paypal_checkout_success ' , ['order ' => $ order ]);
72
72
} else {
73
73
if ($ this ->checkPaymentMethod ($ order )) {
74
74
$ gotoSection = $ this ->_cancelPayment ((string )$ this ->getRequest ()->getParam ('RESPMSG ' ));
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ public function testExecuteAllowedOrderState($state)
201
201
202
202
$ this ->eventManagerMock ->expects ($ this ->once ())
203
203
->method ('dispatch ' )
204
- ->with ('checkout_success ' , $ this ->arrayHasKey ('order ' ));
204
+ ->with ('paypal_checkout_success ' , $ this ->arrayHasKey ('order ' ));
205
205
206
206
$ result = $ this ->returnUrl ->execute ();
207
207
$ this ->assertNull ($ result );
Original file line number Diff line number Diff line change 12
12
<event name =" paypal_express_place_order_success" >
13
13
<observer name =" signifyd_place_order_paypal_express_observer" instance =" Magento\Signifyd\Observer\PlaceOrder" />
14
14
</event >
15
- <event name =" checkout_success " >
15
+ <event name =" paypal_checkout_success " >
16
16
<observer name =" signifyd_place_order_checkout_success_observer" instance =" Magento\Signifyd\Observer\PlaceOrder" />
17
17
</event >
18
18
</config >
You can’t perform that action at this time.
0 commit comments