How to show notification after 3D secure payment completed from a POST request?
Hello,
I have a question about notifications. We redirect our clients to a 3D payment page and when they make payment there, the payment third party makes a POST request to our url.
We verify the payment there and should redirect user to the page where they come from with a notification indicates whether payment was successful or not. It must NOT be a notification,
we want to pass data back to a page basically.
How can we achieve this? Can it be done with notifications?
Thanks.
3 Replies
Did you try Notifications?! If yes: what’s the issue
Yes, I checked from the documentation with broadcasting but it did not work.
Is it the way to use it? Or we should just normally send a notification like,
Notification::make()
->title('Saved successfully')
->send();
Sometimes when trying to code hard you may overlook a simple solution.
Just a simple notification without broadcasting worked.
☃️Notification::make()
->title('Saved successfully')
->send();
will send it fine providing it's part of a user workflow, if it's as they are waiting for it to come in, you use the database notifications and poll it