@xsolla/payment-client-core 0.1.14-test6 → 0.1.14-test7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4670,6 +4670,10 @@ class SavePaymentMethodStatusService {
4670
4670
  handleSavingStatus(status, account) {
4671
4671
  this.listenStatusService.stopListening();
4672
4672
  this.listenStatusSubscription.unsubscribe();
4673
+ const updatingIsProcessing = status?.titleClass !== TitleClass.cancel && status?.titleClass !== TitleClass.cancelUser && !account;
4674
+ if (updatingIsProcessing) {
4675
+ return;
4676
+ }
4673
4677
  const paymentAccountWasSaved = status?.titleClass === TitleClass.done && account !== null;
4674
4678
  const isSavePaymentMethod = true;
4675
4679
  this.savePaymentMethodStatus = paymentAccountWasSaved ? SavePaymentMethodStatus.success : SavePaymentMethodStatus.failed;