checkout-sdk-js icon indicating copy to clipboard operation
checkout-sdk-js copied to clipboard

signOutCustomer providing inconsistent response

Open flyingL123 opened this issue 5 years ago • 0 comments

The promise returned by the signOutCustomer method is supposed to resolve to the current state. When signOutCustomer() is called without options, it resolves correctly. However, if it's called for Amazon Pay, like signOutCustomer({ methodId: 'amazon' }), the response from the server is empty, so the promise does not resolve to the current state.

This means the UI will not properly update unless the page is fully refreshed. Can this be fixed so that the response from this method can be handled uniformly by my application?

flyingL123 avatar Apr 18 '20 19:04 flyingL123