When i try to install app in development store, i get the next error
Oauth error invalid_scope: The access scope is invalid: write_payment_session
App installation in a development store fails with an OAuth error: invalid_scope for write_payment_session.
When i try to install app in development store, i get the next error
Oauth error invalid_scope: The access scope is invalid: write_payment_session
This is due to the scope is limited there, You can check the screenshot and also follow this link to check
Shopify API Access scopes