lmsqueezy/laravel

The product options.redirect url must be a valid URL.

Christopher-Law opened this issue · 4 comments

When attempting to subscribe to a product using its variant_id I see the error: The product options.redirect url must be a valid URL.

I have set up a store, set my env vars, created a subscription product and added a valid redirect url ( it saves correctly on lemon squeezy ).

Hi there. I'll need much more into to debug this:

  • Code example of what you're trying to do and to reproduce it
  • Screenshot of the product and its variant with its settings

Then I can try and reproduce this

Hello @Christopher-Law , I just ran into the problem, but I have solved it as follows,
I have published the config file, updated the redirect_url key with a valid URL like https://yoursite.com/thankyou
Also, I have put the same value in LemonSqueezy dashboard as follows
image

And it worked

@Christopher-Law did @koossaayy' answer help you?

@Christopher-Law feel free to resubmit this one if you're still experiencing it. Thanks