我想知道,当用户使用Django allauth通过条带连接订阅时,如何将scope
参数设置为read_write
?在
我处于开发模式,当我创建一个帐户并尝试对另一个用户的产品收费时,我收到以下错误:
Cannot transfer to a destination that is connected with read_only scope.
我在文档中看到了这个:
The Stripe endpoint needs to at least receive two parameters:
response_type, with a value of code.
Your client_id.
You’ll likely also want to provide the scope. This parameter dictates what your platform will be able to do on behalf of the connected account. The options are read_write and read_only, with read_only being the default.
但我不知道如何设置读写范围?有人面对这个问题吗?在
将此添加到您的
settings.py
相关问题 更多 >
编程相关推荐