|
|
@@ -63,8 +63,8 @@ class SaveCheckoutCartProcessor implements ProcessorInterface
|
|
|
$this->applyShippingMethod((string) $data->shippingMethod);
|
|
|
}
|
|
|
|
|
|
- if ($this->shouldUpdate($data->code)) {
|
|
|
- $this->applyPaymentMethod((string) $data->code);
|
|
|
+ if ($this->shouldUpdate($data->paymentMethod)) {
|
|
|
+ $this->applyPaymentMethod((string) $data->paymentMethod);
|
|
|
}
|
|
|
|
|
|
if ($this->shouldUpdate($data->couponCode)) {
|