I am writing a Shopify app that apply a recurring charge using Rails. When running: ShopifyAPI::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"}
Now seding a get request to: https://test14sl.myshopify.com/admin/recurring_application_charges.json
it gives me:
{"recurring_application_charges":[]}
How can I make sure that at the end of the 30 days cycle, I see my app payment entry in the user's receipt/invoice?