You can easily store the payment gateway responses in your DB, using Laravel by following the below steps:
- Make separate table and model for storing the log, for convenience
- Store Data: Populate the model with validated data and any other relevant fields from the response. Consider storing the entire JSON response for flexibility.
- Save: Save the model using $instance->save().