Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

KareemHussen's avatar

Paddle API error 'empty patch update' occurred

Cashier Paddle Version 2.5

Laravel Version 10.0

PHP Version 8.1

Database Driver & Version MYSQL

When i try to swap the current subscription it gives me this error : Paddle API error 'empty patch update' occurred note that it's the only invalid endpoint the rest are ok

here's my code

public function update(UpdateSubscriptionRequest $request)
    {
        $data  = $request->validated();
        $user  = $request->user;

        $user->subscription()->swap($data['price_id']);

        return $this->respondOk(SubscribtionResource::make($user->subscription()->asPaddleSubscription()) , "Subscribtion swapped successfully");
    }
0 likes
0 replies

Please or to participate in this conversation.