I cannot edit, thus I’m posting below.
Today I received a notice, that store that I tested with payments is billed for. That’s fine, moving to the app, now I see, that it was on Oct 7, so like 10 days after the initial activation we see that earnings are applying.
Any idea why?
We also see something quite strange on the home page. Our first charge was Oct, 7, so really no 30 days passed but more like 10. So question is why those are out of sync,
Questions for Shoppify support:
- Can you say how close to real-time is that information (or each box)? Are they updated, per say once every hour, every day, etc? I’m asking so we have the right expectations;
- prorated charges - are those applied on partner_test plan? On Live?
We see a case on production, related to billing an app:
https://rushdemostore.myshopify.com/admin/api/2020-07/recurring_application_charges.json
{
"recurring_application_charges": [
{
"id": 19289407648,
"name": "Starter",
"api_client_id": 3856087,
"price": "29.99",
"status": "active",
"return_url": "https://***/payment_callback?token=HMDYz2jI6cLdxLuxoIfW9B9bzAr8nDib&shopify_store_id=XXXXXXXX&shop=rushdemostore.myshopify.com&access_token=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",
"billing_on": "2020-11-02",
"created_at": "2020-10-16T16:05:22+03:00",
"updated_at": "2020-10-16T16:05:47+03:00",
"test": false,
"activated_on": "2020-10-16",
"cancelled_on": null,
"trial_days": 0,
"trial_ends_on": "2020-10-16",
"decorated_return_url": "https://***/payment_callback?access_token=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&charge_id=19289407648&shop=rushdemostore.myshopify.com&shopify_store_id=XXXXXXXX&token=HMDYz2jI6cLdxLuxoIfW9B9bzAr8nDib"
},
{
"id": 19109937312,
"name": "Beta Unlimited",
"api_client_id": 3856087,
"price": "2.00",
"status": "cancelled",
"return_url": "https://***/payment_callback?token=rM0VF09Q40bBv4RYoYMRj4KlpeN0XHLK&shopify_store_id=XXXXXXXX&shop=rushdemostore.myshopify.com&access_token=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",
"billing_on": null,
"created_at": "2020-10-08T11:41:04+03:00",
"updated_at": "2020-10-16T16:05:47+03:00",
"test": false,
"activated_on": "2020-10-08",
"cancelled_on": "2020-10-16",
"trial_days": 0,
"trial_ends_on": "2020-10-08",
"decorated_return_url": "https://***/payment_callback?access_token=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&charge_id=19109937312&shop=rushdemostore.myshopify.com&shopify_store_id=XXXXXXXX&token=rM0VF09Q40bBv4RYoYMRj4KlpeN0XHLK"
},
{
"id": 19096174752,
"name": "Starter",
"api_client_id": 3856087,
"price": "29.99",
"status": "cancelled",
"return_url": "https://***/payment_callback?token=GSHxFr7bJZV7jsYvfnhPSvT8i4h5twCA&shopify_store_id=XXXXXXXX&shop=rushdemostore.myshopify.com&access_token=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",
"billing_on": null,
"created_at": "2020-10-07T19:35:34+03:00",
"updated_at": "2020-10-08T11:41:22+03:00",
"test": false,
"activated_on": "2020-10-07",
"cancelled_on": "2020-10-08",
"trial_days": 0,
"trial_ends_on": "2020-10-07",
"decorated_return_url": "https://***/payment_callback?access_token=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&charge_id=19096174752&shop=rushdemostore.myshopify.com&shopify_store_id=XXXXXXXX&token=GSHxFr7bJZV7jsYvfnhPSvT8i4h5twCA"
},
{
"id": 19093323936,
"name": "Starter",
"api_client_id": 3856087,
"price": "29.99",
"status": "accepted",
"return_url": "https://***/payment_callback?token=JZOI8z0ASnYZNZCqeqDKiPUApT0xmm5A&shopify_store_id=XXXXXXXX&shopify_store_domain=rushdemostore.myshopify.com&access_token=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",
"billing_on": null,
"created_at": "2020-10-07T16:30:59+03:00",
"updated_at": "2020-10-07T16:31:04+03:00",
"test": false,
"activated_on": null,
"cancelled_on": null,
"trial_days": 0,
"trial_ends_on": null,
"decorated_return_url": "https://***/payment_callback?access_token=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&charge_id=19093323936&shopify_store_domain=rushdemostore.myshopify.com&shopify_store_id=XXXXXXXX&token=JZOI8z0ASnYZNZCqeqDKiPUApT0xmm5A"
},
{
"id": 19093192864,
"name": "Starter",
"api_client_id": 3856087,
"price": "29.99",
"status": "accepted",
"return_url": "https://***/payment_callback?token=hJMAWBmkchj5fRUVPMbqrHICMa4GpPOt&shopify_store_id=XXXXXXXX&shopify_store_domain=rushdemostore.myshopify.com&access_token=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",
"billing_on": null,
"created_at": "2020-10-07T16:22:54+03:00",
"updated_at": "2020-10-07T16:23:08+03:00",
"test": false,
"activated_on": null,
"cancelled_on": null,
"trial_days": 0,
"trial_ends_on": null,
"decorated_return_url": "https://***/payment_callback?access_token=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&charge_id=19093192864&shopify_store_domain=rushdemostore.myshopify.com&shopify_store_id=XXXXXXXX&token=hJMAWBmkchj5fRUVPMbqrHICMa4GpPOt"
},
{
"id": 19005374624,
"name": "Starter",
"api_client_id": 3856087,
"price": "29.99",
"status": "cancelled",
"return_url": "https://***/payment_callback?token=65g3tb78mvorJhTmOUT3IJVq8CpvnXqy&shopify_store_id=XXXXXXXX&shopify_store_domain=rushdemostore.myshopify.com&access_token=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",
"billing_on": null,
"created_at": "2020-10-03T20:41:20+03:00",
"updated_at": "2020-10-07T15:37:46+03:00",
"test": false,
"activated_on": "2020-10-03",
"cancelled_on": "2020-10-07",
"trial_days": 0,
"trial_ends_on": "2020-10-03",
"decorated_return_url": "https://***/payment_callback?access_token=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&charge_id=19005374624&shopify_store_domain=rushdemostore.myshopify.com&shopify_store_id=XXXXXXXX&token=65g3tb78mvorJhTmOUT3IJVq8CpvnXqy"
},
{
"id": 19005276320,
"name": "Starter",
"api_client_id": 3856087,
"price": "29.99",
"status": "expired",
"return_url": "https://***/payment_callback?token=SX9GhrfxEurvbuyhdTrBA1EpovGrVvmN&shopify_store_id=XXXXXXXX&shopify_store_domain=rushdemostore.myshopify.com&access_token=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",
"billing_on": null,
"created_at": "2020-10-03T20:37:35+03:00",
"updated_at": "2020-10-06T14:00:07+03:00",
"test": false,
"activated_on": null,
"cancelled_on": null,
"trial_days": 0,
"trial_ends_on": null,
"decorated_return_url": "https://***/payment_callback?access_token=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&charge_id=19005276320&shopify_store_domain=rushdemostore.myshopify.com&shopify_store_id=XXXXXXXX&token=SX9GhrfxEurvbuyhdTrBA1EpovGrVvmN"
}
]
}
Note that *** and XXXX are reducted values.
So questions is, why example have:
- “billing_on”: “2020-11-02”,
- “created_at”: “2020-10-16T16:05:22+03:00”,
- “updated_at”: “2020-10-16T16:05:47+03:00”,
- “activated_on”: “2020-10-16”,
Why billing_on it is a future date?
- Why none of the previously accepted and activated plans, do have billed_on? We see that we have App charges for the same app $45.85, but why we get only for the last plan billed? Or maybe there is another endpoint where we can see from each charge what was used or applied?
Calling: https://rushdemostore.myshopify.com/admin/api/2020-07/application_credits.json
Does return emoty array, and for sure we have applied pro rate → moving from $29 plan to $2 subscription plan. Yet we get:
{
"application_credits": []
}
Note that test was done with a single store.