File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,19 @@ public function __construct(
2323 $ this ->addPaymentInfo = $ addPaymentInfo ;
2424 }
2525
26- public function booted (): void
26+ public function boot (): void
2727 {
2828 // @phpstan-ignore-next-line
29- parent ::booted ();
29+ parent ::boot ();
3030
3131 // @todo: Do this only with the Hyva Checkout
3232 // @phpstan-ignore-next-line
3333 $ this ->listeners ['shipping_method_selected ' ] = 'triggerShippingMethod ' ;
34- $ this ->listeners ['payment_method_selected ' ] = 'triggerShippingMethod ' ;
34+ $ this ->listeners ['payment_method_selected ' ] = 'triggerPaymentMethod ' ;
3535
3636 // @todo: Do this only with the Loki Checkout
3737 $ this ->listeners ['afterSaveShippingMethod ' ] = 'triggerShippingMethod ' ;
38- $ this ->listeners ['afterSavePaymentMethod ' ] = 'triggerShippingMethod ' ;
38+ $ this ->listeners ['afterSavePaymentMethod ' ] = 'triggerPaymentMethod ' ;
3939 }
4040
4141 public function triggerShippingMethod ()
You can’t perform that action at this time.
0 commit comments