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.
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; }
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; }