Paddle subscription error. Laravel Cashier

132 Views Asked by At

I'm trying to use the newSubscription() method with the following code:

$user->newSubscription('product name', 'price id')->create();

But every time I get the following response:

Laravel\Paddle\Exceptions\PaddleException Unable to find requested product.

As a product name, I tried to use its name and its ID (pro_*) I always used (pri_*) as an ID plan.

Which of these data are incorrect? There is nothing detailed about this in the documentation.

0

There are 0 best solutions below