properly working csrf at checkout fixed now
This commit is contained in:
@@ -21,8 +21,7 @@
|
|||||||
packetaKey: '{{ packeta_api_key }}',
|
packetaKey: '{{ packeta_api_key }}',
|
||||||
fmt(c) { return (c / 100).toFixed(2) },
|
fmt(c) { return (c / 100).toFixed(2) },
|
||||||
pickPoint() {
|
pickPoint() {
|
||||||
Packeta.Widget.pick(this.packetaKey, (point) =>
|
Packeta.Widget.pick(this.packetaKey, (point) => {
|
||||||
{{ ui::csrf_field() }} {
|
|
||||||
if (point) { this.pointId = String(point.id); this.pointName = point.formatedValue || point.name }
|
if (point) { this.pointId = String(point.id); this.pointName = point.formatedValue || point.name }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -31,6 +30,7 @@
|
|||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
class="mt-6 grid gap-8 lg:grid-cols-3">
|
class="mt-6 grid gap-8 lg:grid-cols-3">
|
||||||
|
{{ ui::csrf_field() }}
|
||||||
|
|
||||||
<div class="space-y-6 lg:col-span-2">
|
<div class="space-y-6 lg:col-span-2">
|
||||||
<!-- personal vs company. Fixed (read-only) for a logged-in account; a guest
|
<!-- personal vs company. Fixed (read-only) for a logged-in account; a guest
|
||||||
|
|||||||
Reference in New Issue
Block a user