@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.cjs CHANGED
@@ -2237,7 +2237,7 @@ async function processSavedPaymentWithIntent({
2237
2237
  if (!confirmResult.paymentIntentId || confirmResult.status !== "succeeded" && confirmResult.status !== "processing" && confirmResult.status !== "requires_capture") {
2238
2238
  throw Object.assign(
2239
2239
  new import_shared6.FloPayError(
2240
- `Payment intent in unexpected status: ${confirmResult.status}`,
2240
+ `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.`,
2241
2241
  "api_error",
2242
2242
  {
2243
2243
  code: confirmResult.status === "requires_action" ? "authentication_required" : void 0