Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivascu Madalin committed Nov 6, 2023
1 parent 29ac7b0 commit d6763ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Magewire/Payment/Method/PayPerEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,16 @@ private function getBillingAddress(): Address
return $this->sessionCheckout->getQuote()->getBillingAddress();
}

/**
* Get payment from quote
*
* @return Payment
*/
private function getPayment()
{
return $this->sessionCheckout->getQuote()->getPayment();
}


/**
* Validate single field with rules
Expand Down

0 comments on commit d6763ee

Please sign in to comment.