From f807d1a561d09bce7e7c66a2c93b92011a08b493 Mon Sep 17 00:00:00 2001 From: Sander de Vos Date: Mon, 2 Oct 2023 13:08:58 +0200 Subject: [PATCH] Description not set for update payment method builder issue resolved --- src/UpdatePaymentMethod/UpdatePaymentMethodBuilder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/UpdatePaymentMethod/UpdatePaymentMethodBuilder.php b/src/UpdatePaymentMethod/UpdatePaymentMethodBuilder.php index d65f3766..6cb204cb 100644 --- a/src/UpdatePaymentMethod/UpdatePaymentMethodBuilder.php +++ b/src/UpdatePaymentMethod/UpdatePaymentMethodBuilder.php @@ -46,6 +46,7 @@ public function create() $payment = (new FirstPaymentBuilder($this->owner)) ->setRedirectUrl(config('cashier.update_payment_method.redirect_url')) ->setFirstPaymentMethod($this->allowedPaymentMethods()) + ->setDescription(config('cashier.update_payment_method.description')) ->inOrderTo($this->getPaymentActions()) ->create();