We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 559d735 commit 9c218a3Copy full SHA for 9c218a3
resources/views/components/payment-form.blade.php
@@ -10,12 +10,23 @@
10
.then(resp => {
11
this.initializing = false
12
13
+ if(resp.error){
14
+ console.log('error')
15
+
16
+ return
17
+ }
18
19
if(resp.session){
20
this.processing = true
21
22
+ sessionStorage.removeItem('HostedCheckout_sessionId')
23
24
+ session = resp.session
25
26
Checkout.configure({
27
session:{
- id: resp.session
28
+ id: session.id,
29
+ version: session.version,
30
}
31
});
32
@@ -25,7 +36,6 @@
36
37
}"
38
@checkout='checkout'
- @mpgs-complete.window='$wire.checkoutSuccess()'
39
>
40
<x-lunar-mpgs::embed-container />
41
<x-lunar-mpgs::checkout-button />
0 commit comments