From ab7f27aef0ae7caf9e741b826a68933e45475327 Mon Sep 17 00:00:00 2001 From: Raza Mehdi Date: Thu, 27 Jun 2024 20:18:17 +0500 Subject: [PATCH] change method name. --- src/Concerns/ManagesPaymentMethods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Concerns/ManagesPaymentMethods.php b/src/Concerns/ManagesPaymentMethods.php index ccd27012..5b1984fc 100644 --- a/src/Concerns/ManagesPaymentMethods.php +++ b/src/Concerns/ManagesPaymentMethods.php @@ -59,7 +59,7 @@ public function hasValidDefaultPaymentMethod() return ! (($this->defaultPaymentMethod() === null) || ( ($this->defaultPaymentMethod()->id !== null) && - ($this->resolveStripePaymentMethod($this->defaultPaymentMethod()->id) === null) + ($this->findPaymentMethod($this->defaultPaymentMethod()->id) === null) )); }