F
Filamentβ€’5d ago
frame

Share data from `CreateRecord::handleRecordCreation` to `getRedirectUrl`

I'm contacting the payment processor within handleRecordCreation to retrieve a redirect url. How can I pass that url to getRedirectUrl so the user is automatically redirected to the payment page? πŸ€” Alternatively if I contact the processor in afterCreate is it possible to redirect the user from there?
Solution:
just call redirect()->to('Intended url here') within the afterCreate()
Jump to solution
1 Reply
Solution
toeknee
toekneeβ€’5d ago
just call redirect()->to('Intended url here') within the afterCreate()

Did you find this page helpful?