Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIPRES-261: Payment attribute fix #806

Merged
merged 3 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

# Changelog #

## Changes in release 6.0.4 ##
+ New payment method: Billie.
+ Enabled mixed cart for subscription orders. Various products could be coupled with a single subscription product.
+ Overall improvements and bug fixes.

## Changes in release 6.0.3 ##
+ High priority bug fix impacting product add to cart pop-up.

Expand Down
2 changes: 1 addition & 1 deletion subscription/Factory/CreateSubscriptionDataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function build(Order $order, array $subscriptionProduct): SubscriptionDat
//todo: will need to improve mollie module logic to have shop id or card it so that multishop doesn't break
$molCustomer = $this->customerRepository->findOneBy(['email' => $customer->email]);

$combination = $this->combination->getById((int) $subscriptionProduct['id_product_attribute']);
$combination = $this->combination->getById((int) $subscriptionProduct['product_attribute_id']);
$interval = $this->subscriptionInterval->getSubscriptionInterval($combination);

$currency = $this->currencyAdapter->getById((int) $order->id_currency);
Expand Down
Loading