feat: rename finalize methods to complete for consistency in purchase processing
This commit is contained in:
@@ -67,7 +67,7 @@ class CheckoutService
|
||||
});
|
||||
}
|
||||
|
||||
public function finalizePurchase(Purchase $purchase): Purchase
|
||||
public function completePurchase(Purchase $purchase): Purchase
|
||||
{
|
||||
return DB::transaction(function () use ($purchase): Purchase {
|
||||
/** @var Purchase $purchase */
|
||||
|
||||
Reference in New Issue
Block a user