@flopay/react 0.4.9 → 0.4.10

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.
package/dist/index.mjs CHANGED
@@ -2191,7 +2191,7 @@ async function processSavedPaymentWithIntent({
2191
2191
  if (!confirmResult.paymentIntentId || confirmResult.status !== "succeeded" && confirmResult.status !== "processing" && confirmResult.status !== "requires_capture") {
2192
2192
  throw Object.assign(
2193
2193
  new FloPayError3(
2194
- `Payment intent in unexpected status: ${confirmResult.status}`,
2194
+ `Unfortunately, your payment could not be processed. Please try again using a different payment method or contact your bank for assistance. If the issue persists, feel free to reach out to us for support.`,
2195
2195
  "api_error",
2196
2196
  {
2197
2197
  code: confirmResult.status === "requires_action" ? "authentication_required" : void 0