@xsolla/payment-client-core 0.2.16 → 0.2.17

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.
@@ -1491,6 +1491,8 @@ class StatusResponse {
1491
1491
  paymentCountryIso: parameters.status.statusData.payment_country_iso,
1492
1492
  order: parameters.status.text.order,
1493
1493
  };
1494
+ this.status.autoCancellation =
1495
+ parameters.payment_method?.auto_cancellation !== false;
1494
1496
  if (parameters.form) {
1495
1497
  this.status.userReturnStatus = this.getUserReturnStatus(parameters.form);
1496
1498
  }
@@ -4178,6 +4180,7 @@ class StatusRequestService extends XpsApiPart {
4178
4180
  status: response.status,
4179
4181
  errors: response.errors,
4180
4182
  form: response.form,
4183
+ payment_method: response.payment_method,
4181
4184
  });
4182
4185
  this.emitResponse(statusResponse);
4183
4186
  })