Feature #9537
openCompany Profile: Sync e-commerce Payment Methods with Payment Settings toggles + fix Zelle defaulting
100%
Description
Summary
Updated the Payment Methods selector inside Company Profile → E-commerce Store Address so it stays consistent with the in-store Payment Settings toggles, and fixed Zelle contact fields so they actually default from Company Profile values instead of showing placeholder text with no real fallback.
Changes
Conditional payment method availability — In each store's "Payment Methods" list, Card/Cash/Zelle checkboxes now only appear if the corresponding method is enabled up in Payment Settings (Card ⇔ Credit Card or Debit Card enabled, Cash ⇔ Cash enabled, Zelle ⇔ Zelle enabled). If a toggle is later disabled while already checked on a store, it's auto-unchecked there too.
Bank Transfer / Check surfaced with a "not supported" message — These now appear as clickable (non-checkable) items in the same Payment Methods list when enabled in Payment Settings; clicking one shows an inline message: "[Method] is not available for e-commerce checkout — only Card, Cash, and Zelle are supported for online orders."
Zelle defaulting fixed — Store Zelle Email now defaults from Company Details' Zelle Email (previously a static placeholder with no real link). Store Zelle QR Code URL now defaults from the QR code configured in Payment Settings → Zelle (previously claimed a default existed but nothing was wired).
Files touched
src/pages/Settings/CompanyProfile/CompanyProfile.tsx
Subtasks
Related issues