on 2023 Feb 08 8:17 AM
Hi,
We have updated the Spartacus version 4.1.0 to 5.0.0.
After the upgrade, we have seen many methods available in the cart page and checkout page are deprecated and new methods are get introduced. We have implemented few of them and working on other changes. While doing so we are are facing error in one of the methods
New Method implemented in Spartacus 5.0.0
- getSelectedPaymentTypeState()
Equivalent Method available in Spartacus 4.1.0
- getSelectedPaymentType()
Error:
node_modules_spartacus_checkout_fesm2020_spartacus-checkout-base_mjs.js:2
RangeError: Maximum call stack size exceeded
at
Subscriber._error (Subscriber.js:75:26)
at
Subscriber.error (Subscriber.js:55:18)
at
MapSubscriber._error (Subscriber.js:75:26)
at
MapSubscriber.error (Subscriber.js:55:18)
at
FilterSubscriber._error (Subscriber.js:75:26)
at
FilterSubscriber.error (Subscriber.js:55:18)
at
SwitchMapSubscriber.notifyError (innerSubscribe.js:45:26)
at
SimpleInnerSubscriber._error (innerSubscribe.js:13:21)
at
SimpleInnerSubscriber.error (Subscriber.js:55:18)
at
SwitchMapSubscriber.notifyError (innerSubscribe.js:45:26)
Kindly help with a sollution.
Request clarification before answering.
User | Count |
---|---|
18 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.