Filament and Laravel Cashier Paddle
filament prevents click event of cashier paddle button
4 Replies
Getting the same issue, thought it was me
It seems like the events aren't bound to the links even though the class has been added and the paddle script is loaded and running.
Managed to get it working, I was trying to show all availavble products and do the checkout on one page. Instead when I click on the product I want it now goes to a checkout page and there is has a final button which then shows the overlay and takes the payment
How did you implement it
Sorry been away. I craeted the checkout as a view variable in my checkout page:
return [
'product' => request()->query->get('product'),
'checkout' => request()->user()->checkout(request()->query->get('product'))
->returnTo(route('filament.management.pages.management'))
];
Then used the checkout component not the button:
<x-paddle-checkout :checkout="$checkout" class="w-full" />
Couldn't get the button to work and its fine as it is so will leave like that
thanks