Hi!
We experienced non-ambiguous situation:
we got "declined" status from webview delegate
public func webView(_ webView: WKWebView, didFail navigation
And app sent "declined" status to our backend.
But user somehow finished payment, backend got "success" payment status after some seconds,
backend ignored it - because we got "declined" status previously.
Can be SDK fixed somehow, because it looks strange from backend perspective.
- Maybe SDK should not trigger "declined" callback on "didFail navigation"
- Or if we got 'didFail navigation" in webview, try to start over payment again (reload page?) or show alert "Something went wrong "reload" / "cancel"
Hi!
We experienced non-ambiguous situation:
we got "declined" status from webview delegate
public func webView(_ webView: WKWebView, didFail navigationAnd app sent "declined" status to our backend.
But user somehow finished payment, backend got "success" payment status after some seconds,
backend ignored it - because we got "declined" status previously.
Can be SDK fixed somehow, because it looks strange from backend perspective.