lmsqueezy / laravel

A package to easily integrate your Laravel application with Lemon Squeezy.
https://lemonsqueezy.com
MIT License
521 stars 51 forks source link

Return from `updatePaymentMethodUrl` #14

Closed jbrooksuk closed 1 year ago

jbrooksuk commented 1 year ago

This may be an issue with Lemon Squeezy itself (I've not looked into the API used) but when you follow the URL to update payment methods, the page shows a (X) button that doesn't do anything.

CleanShot 2023-05-05 at 08 59 51@2x

Is it possible to modify this link in some way?

driesvints commented 1 year ago

Hmm, I'll forward this to LS, thanks.

driesvints commented 1 year ago

Seems like it's mostly intended for this to work with the embedded overlay. I'll update the docs soon to reflect this.

jbrooksuk commented 1 year ago

@driesvints is there a preferred way to handle this for custom applications that aren't using the embedded overlay?

driesvints commented 1 year ago

@jbrooksuk the example from the docs right now. But it's not optimized for it (like the issue you're facing). They're fixing this soon.

driesvints commented 1 year ago

I can't seem to get the overlay to work with the payment method details url right now. Pinged LS and will follow up with them.

driesvints commented 1 year ago

Updated the docs to include an example with Lemon.js