Skip to content

Commit

Permalink
Fixed payment method selector in QuickCheckout component
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-kuendig committed Oct 11, 2024
1 parent a719bcc commit f52b8a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/PaymentMethodSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ protected function setData()

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

$this->setVar('paymentMethods', PaymentMethod::getAvailableByCart($this->cart));
$this->setVar('methods', PaymentMethod::getAvailableByCart($this->cart));
$this->setVar('customerMethods', $this->getCustomerMethods());
$this->setVar('activeMethod', $method);
$this->setVar('shippingSelectionBeforePayment', GeneralSettings::get('shipping_selection_before_payment', false)); // Needed by themes
Expand Down
2 changes: 2 additions & 0 deletions updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -613,3 +613,5 @@ v3.5.4:
- 'Refactgored built-in validation rule'
v3.5.6:
- 'Fixed product sorting when using MySQL product index with Laravel 10 (thanks to @tomaszstrojny)'
v3.5.7:
- 'Fixed payment method selector in QuickCheckout component'

0 comments on commit f52b8a8

Please sign in to comment.