Skip to content

Commit f52b8a8

Browse files
Fixed payment method selector in QuickCheckout component
1 parent a719bcc commit f52b8a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

components/PaymentMethodSelector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ protected function setData()
257257

258258
$method = PaymentMethod::where('id', $this->order->payment_method_id ?? $this->cart->payment_method_id)->first();
259259

260-
$this->setVar('paymentMethods', PaymentMethod::getAvailableByCart($this->cart));
260+
$this->setVar('methods', PaymentMethod::getAvailableByCart($this->cart));
261261
$this->setVar('customerMethods', $this->getCustomerMethods());
262262
$this->setVar('activeMethod', $method);
263263
$this->setVar('shippingSelectionBeforePayment', GeneralSettings::get('shipping_selection_before_payment', false)); // Needed by themes

updates/version.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,3 +613,5 @@ v3.5.4:
613613
- 'Refactgored built-in validation rule'
614614
v3.5.6:
615615
- 'Fixed product sorting when using MySQL product index with Laravel 10 (thanks to @tomaszstrojny)'
616+
v3.5.7:
617+
- 'Fixed payment method selector in QuickCheckout component'

0 commit comments

Comments
 (0)