fix: fixed payment not going through if no address and card were saved

This commit is contained in:
2026-04-26 12:21:16 +02:00
parent 7bebdeebed
commit 4083495704

View File

@@ -384,6 +384,8 @@ func (m Model) ShippingUpdate(msg tea.Msg) (Model, tea.Cmd) {
m.ErrorMsg = "Invalid address. Currently only US and Norwegian addresses are supported."
return m, m.shipping.form.form.Init()
}
saved := msg.Address
m.ShippingInfo = &saved
return m.PaymentSwitch()
case ShippingFormErrorMsg: