shopify - ShopifyAPI::RecurringApplicationCharge api 的 403 禁止问题
问题描述
目前,我们正在使用自定义应用程序进行 Shopify 应用程序开发。当我们尝试点击 ShopifyAPI::RecurringApplicationCharge.current api 时,我们面临 403 Forbidden 问题(ActiveResource::ForbiddenAccess (Failed. Response code = 403. Response message = Forbidden))。因此,任何人都可以让我们知道我们需要在这里做什么来解决这个问题。
解决方案
您无法使用自定义应用程序做到这一点。参考:这里
Custom app: An app custom built for a single client.
Capabilities of a custom app:
- Limited to installation on one merchant store
- Not reviewed by Shopify
- Can’t be converted into a sales channel
- Can’t use the Billing API to charge merchants
因此,如果您想使用 Billing API,请将您的应用更改为公共应用。
推荐阅读
- oracle - 为什么 Oracle Fusion EBS 在其数据库表中同时使用 ENABLED_FLAG 和 START_DATE_ACTIVE/END_DATE_ACTIVE?
- php - $_GET 从 Ajax fetch() 返回 null
- jquery - jquery 每个循环只在动态创建的元素上迭代一次
- angular - 对于小型应用程序,应用程序服务器是否可以/应该也用作 Web 服务器?
- html - XSL:对于每个迭代数据
- java - 如何在等待()中停止线程
- asp.net-mvc - 没有 BOM 的 UTF-8 的问题,ASP MVC 5 项目,不能很好地显示特殊字符
- reactjs - 使用动态参数反应装饰器
- asp.net - 带有外键的 ASP.NET 实体框架 BulkInsert
- php - 带有两个输入和一个搜索按钮的搜索栏 Laravel5