Skip to content

Update snap_checkout.blade.php - #29

Open
robertnicjoo wants to merge 1 commit into
harrypujianto:masterfrom
robertnicjoo:patch-1
Open

Update snap_checkout.blade.php#29
robertnicjoo wants to merge 1 commit into
harrypujianto:masterfrom
robertnicjoo:patch-1

Conversation

@robertnicjoo

Copy link
Copy Markdown
  1. There was additional </div> tags which was damaging users designs.
  2. Updated csrf token to use blade helper compatible with version 5.7
  3. Added ajax header to send csrf with ajax request and avoid 422 error
  4. Removed action tag from form as we send data by ajax that was unnecessary
  5. Added Data, DataType and Type to ajax request as it is ajax standards.

1. There was additional `</div>` tags which was damaging users designs.
2. Updated csrf token to use blade helper compatible with version 5.7
3. Added ajax header to send csrf with ajax request and avoid `422` error
4. Removed `action` tag from form as we send data by ajax that was unnecessary
5. Added Data, DataType and Type to ajax request as it is ajax standards.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant