@reevit/react 0.3.6 → 0.3.7

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
@@ -1715,13 +1715,14 @@ function ReevitCheckout({
1715
1715
  return /* @__PURE__ */ jsx(
1716
1716
  HubtelBridge,
1717
1717
  {
1718
- merchantAccount: pspKey,
1718
+ merchantAccount: paymentIntent?.pspCredentials?.merchantAccount || pspKey,
1719
1719
  amount: paymentIntent?.amount ?? amount,
1720
1720
  currency: paymentIntent?.currency ?? currency,
1721
1721
  reference: paymentIntent?.reference || reference,
1722
1722
  email,
1723
1723
  phone: momoData?.phone || phone,
1724
1724
  description: `Payment ${paymentIntent?.reference || reference || ""}`,
1725
+ basicAuth: paymentIntent?.pspCredentials?.basicAuth,
1725
1726
  onSuccess: handlePSPSuccess,
1726
1727
  onError: (err) => handlePSPError(err),
1727
1728
  onClose: handlePSPClose