Square Python SDK-无法创建/收取付款

时间:2020-10-30 01:50:57

标签: python square-connect square

尝试使用方形python sdk和以下文档found here。在标题使用安全令牌付款(即刻)部分中,代码块的第一行出现问题(请参见下面的屏幕截图)

enter image description here

由于某些原因,我在终端中遇到以下错误

enter image description here

我不知道为什么会收到错误AttributeError: 'WebApplicationClient' object has no attribute 'payments',因为我只是从文档中复制并粘贴了代码。我做了pip install squareup,所以我相信所有必要的软件包都可用。关于为什么会发生错误的任何想法?

0 个答案:

没有答案