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()
6868 if ($ order ->getIncrementId ()) {
6969 if ($ this ->checkOrderState ($ order )) {
7070 $ redirectBlock ->setData ('goto_success_page ' , true );
71- $ this ->_eventManager ->dispatch ('checkout_success ' , ['order ' => $ order ]);
71+ $ this ->_eventManager ->dispatch ('paypal_checkout_success ' , ['order ' => $ order ]);
7272 } else {
7373 if ($ this ->checkPaymentMethod ($ order )) {
7474 $ 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)
201201
202202 $ this ->eventManagerMock ->expects ($ this ->once ())
203203 ->method ('dispatch ' )
204- ->with ('checkout_success ' , $ this ->arrayHasKey ('order ' ));
204+ ->with ('paypal_checkout_success ' , $ this ->arrayHasKey ('order ' ));
205205
206206 $ result = $ this ->returnUrl ->execute ();
207207 $ this ->assertNull ($ result );
Original file line number Diff line number Diff line change 1212 <event name =" paypal_express_place_order_success" >
1313 <observer name =" signifyd_place_order_paypal_express_observer" instance =" Magento\Signifyd\Observer\PlaceOrder" />
1414 </event >
15- <event name =" checkout_success " >
15+ <event name =" paypal_checkout_success " >
1616 <observer name =" signifyd_place_order_checkout_success_observer" instance =" Magento\Signifyd\Observer\PlaceOrder" />
1717 </event >
1818</config >
You can’t perform that action at this time.
0 commit comments