Skip to content

Commit

Permalink
Bugfix: Prevent multiple customer addresses mollie#800
Browse files Browse the repository at this point in the history
  • Loading branch information
michielgerritsen committed Aug 19, 2024
1 parent 247d2cb commit b684797
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion view/frontend/web/js/view/checkout/save-payment-method.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright Magmodules.eu. All rights reserved.
* See COPYING.txt for license details.
*/

define([
'ko',
'uiComponent',
Expand Down Expand Up @@ -64,7 +69,8 @@ define([
extension_attributes: {}
};

payload.billingAddress = quote.billingAddress();
// Do not send the billing address, this is saved by Magento itself
// payload.billingAddress = quote.billingAddress();

/**
* Problem: We need to set the payment method, therefor we created this function. The api call requires
Expand Down

0 comments on commit b684797

Please sign in to comment.