django项目的条带集成
aa-stripe的Python项目详细描述
安装
将 aa_stripe 添加到应用程序的 已安装的应用程序中,并在项目设置中设置 stripe_api_key 。毕竟,请迁移应用程序( /manage.py migrate aa_stripe )。 从Stripe Webhooks配置中将 Stripe Webhooks_Endpoint_Secret 添加到设置中以启用Webhooks。 如果与settings.auth_user_model不同,则添加stripe_user_model。例如,当cc连接到office而不是person时。 条带用户模式 默认为auth用户模式。
将 aa_stripe.api_url 添加到URL配置中。