Closed iamnitinviras closed 9 months ago
1.4
10.0
8.2.0
I am trying the below code to subscribe or checkout but it gives me an error.
Route::get('/subscribe', function (Request $request) { return $request->user()->subscribe('151662'); //return $request->user()->checkout('148944'); });
When adding subscribe code in the route it gives "The related resource does not exist." error
For anyone else that might encounter this issue in the future, the products variant ID changes if you modify or update the product information in the LemonSqueezy dashboard.
Lemon Squeezy for Laravel Version
1.4
Laravel Version
10.0
PHP Version
8.2.0
Description
I am trying the below code to subscribe or checkout but it gives me an error.
Steps To Reproduce
When adding subscribe code in the route it gives "The related resource does not exist." error