Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ameerul / P2PS-4487 P2P is blocked for Wallet User #409

Conversation

ameerul-deriv
Copy link
Contributor

No description provided.

Copy link

Preview Link: https://P2PS-4487-p2p-is-blo.p2p-standalone.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

@@ -16,7 +16,6 @@ const useIsP2PBlocked = () => {
if (!accountStatus) return '';

if (accountStatus?.cashier_validation?.includes('system_maintenance')) return 'systemMaintenance';
if (accountStatus.status.includes('cashier_locked')) return 'cashierLocked';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how will this affect the existing clients?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we remove cashier locked, we still fall back to the main blocked page because if the advertiser has cashier_locked status applied in BO, once they return to p2p, p2p_advertiser_info returns PermissionDenied error code, and we show the blocked screen

@ameerul-deriv ameerul-deriv merged commit 55af507 into deriv-com:master Nov 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants