Customizing notifications doesn't work

Hello, could you please help me, I would like to be able to show my voucher in a different way, I don't want it in a "ViewAction" because I don't know how to add custom buttons and remove the "close" button, so I hope to show it in a custom notification but no It shows me nothing when pressing the "voucher 2" action.

In #1 I did it with "ViewAction", but I can't remove the "close" button, nor can I place a button to do any action I want.

That is why in #2 I tried to do it with a personalized notification to show the voucher of the first image. I just put a text to know if it worked but the idea is to show the voucher that is seen in the first image.

I don't know if I'm doing something wrong because it doesn't show me any notification.

if I send it a normal notification like "Notification::make()
->title('Saved successfully')
->success()
->send(); "

It does show it but my personalized notification doesn't.

I did what the documentation says.
Screenshot_2023-03-30_132744.png
Screenshot_2023-03-30_133917.png
Screenshot_2023-03-30_132935.png
Was this page helpful?