首页 > 解决方案 > ShopifyAPI::RecurringApplicationCharge api 的 403 禁止问题

问题描述

目前,我们正在使用自定义应用程序进行 Shopify 应用程序开发。当我们尝试点击 ShopifyAPI::RecurringApplicationCharge.current api 时,我们面临 403 Forbidden 问题(ActiveResource::ForbiddenAccess (Failed. Response code = 403. Response message = Forbidden))。因此,任何人都可以让我们知道我们需要在这里做什么来解决这个问题。

标签: shopifyshopify-appshopify-api

解决方案


您无法使用自定义应用程序做到这一点。参考:这里

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,请将您的应用更改为公共应用。


推荐阅读