Ruby on rails 如何实际测试Shopify重复收费

Ruby on rails 如何实际测试Shopify重复收费,ruby-on-rails,shopify,Ruby On Rails,Shopify,我正在编写一个应用程序,使用Rails应用定期收费。运行时:shoppifyAPI::RecurringApplicationCharge.get(1076285)I get: {"activated_on"=>"2015-01-17", "api_client_id"=>414133, "billing_on"=>"2015-01-17", "cancelled_on"=>nil, "created_at"=>"2015-01-17T11:44:09+07

我正在编写一个应用程序,使用Rails应用定期收费。运行时:
shoppifyAPI::RecurringApplicationCharge.get(1076285)
I get:

{"activated_on"=>"2015-01-17",
 "api_client_id"=>414133,
 "billing_on"=>"2015-01-17",
 "cancelled_on"=>nil,
 "created_at"=>"2015-01-17T11:44:09+07:00",
 "id"=>1076285,
 "name"=>"Business",
 "price"=>"99.90",
 "return_url"=>
  "https://test14sl.myshopify.com/admin/apps/mshopdev//shops/confirm",
 "status"=>"active",
 "test"=>nil,
 "trial_days"=>0,
 "trial_ends_on"=>"2015-01-17",
 "updated_at"=>"2015-01-17T11:46:24+07:00",
 "decorated_return_url"=>
  "https://test14sl.myshopify.com/admin/apps/mshopdev//shops/confirm?charge_id=1076285"}
现在将get请求发送到:
https://test14sl.myshopify.com/admin/recurring_application_charges.json

它给了我:

{“定期申请费用”:[]}

如何确保在30天周期结束时,我在用户的收据/发票中看到我的应用程序付款条目?

为什么需要此信息? 我已经在一个生产商店中检查了定期_应用程序_charges.json,商店所有者已登录,我得到了相同的结果。所以我猜API文档中有一个问题。 如果您通过提供具体的费用ID进行检查,我肯定您会得到答案。尝试执行
GET
以执行以下操作:
/admin/recurtive_application_charges/#{id}.json

是的,我已经在我的问题中发布了
GET
的结果。似乎我必须等到30周期结束,才能真正确保向客户收费