- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022
02:38 AM
03-16-2022
02:38 AM
Hi all
I build the modules with plugin. now stop redirect to payment page afterSaveAddressInformation next button click. it was the same page not going to payment pages.
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022
09:53 PM
03-16-2022
09:53 PM
Here is the code i am able to resolved.
just need to result
public function afterSaveAddressInformation( \Magento\Checkout\Model\ShippingInformationManagement $subject, $result, $cartId, \Magento\Checkout\Api\Data\ShippingInformationInterface $addressInformation ) { $emailAddress = $this->cartHelper->getQuote()->getCustomerEmail(); $quote = $this->cartHelper->getQuote(); // echo "<pre>"; echo $firstName . $emailAddress; return $result; }
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022
09:53 PM
03-16-2022
09:53 PM
Here is the code i am able to resolved.
just need to result
public function afterSaveAddressInformation( \Magento\Checkout\Model\ShippingInformationManagement $subject, $result, $cartId, \Magento\Checkout\Api\Data\ShippingInformationInterface $addressInformation ) { $emailAddress = $this->cartHelper->getQuote()->getCustomerEmail(); $quote = $this->cartHelper->getQuote(); // echo "<pre>"; echo $firstName . $emailAddress; return $result; }