shopify申请费用保存失败

shopify application charge failing to save

下面是我在 Ruby 中的 Shopify 一次性申请收费代码。我关注了 shopify "add billing to your app" 页面 (https://help.shopify.com/api/tutorials/adding-billing-to-your-app) for the code, except didn't need a recurring charge. I have also found someone else who posted their one-time-charge code which looks very similar to mine (https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/one-time-application-charge-example-for-shopify-rails-app-489347).

def create_application_charge

       application_charge = ShopifyAPI::ApplicationCharge.new(
            name: "MyApp",
            price: 0.09,
            return_url: "https:\/\/myapp.herokuapp.com\/activatecharge",
            test: true)
        save = application_charge.save
        if save
            redirect application_charge.confirmation_url
            return
        end
        flash[:error] = "The save worked: #{save}"
    end

闪光灯始终响应为假。身份验证失败会阻止这种情况发生吗?或者让商店接受申请费的东西?我不知道为什么这不起作用。

非常感谢任何帮助,谢谢。

主要问题似乎是您可以要求的最低费用是 0.50 美元,为此我没有满足我选择使用 0.09 美元进行测试的要求。