Why does the "recurringApplicationCharge" feature always remain "Active"?

Highlighted
New Member
2 0 0

Hello, Shopify Support

 

I am a shopify app developer, I use “recurringApplicationCharge" API to bill the customer who want to use my app.

 

I successfully bill the test customer of a development store one month ago(2019-10-11). Now it should be the next period, But I still get Active state by calling shopify's api (GET /admin/api/2019-10/recurring_application_charges/#{recurring_application_charge_id}.json) to query the user's billing status.

 

What should I do please ? Do you have any suggestions ?


Should I create another payment request and let the user pay for it agaon ?

 

{
id: 11013128258,
name: 'xxxxxx',
api_client_id: 3000419,
price: '1',
status: 'active',
return_url: 'xxxxxx',
billing_on: '2019-10-11',
created_at: '2019-10-11T06:23:08-04:00',
updated_at: '2019-10-11T06:23:19-04:00',
test: true,
activated_on: '2019-10-11',
cancelled_on: null,
trial_days: 0,
trial_ends_on: '2019-10-11',
decorated_return_url: 'xxxxxxxx?charge_id=11013128258'
}

 

0 Likes
Shopify Staff
Shopify Staff
268 36 38

Hey @Komorebi,

 

This is expected behaviour, the recurring application charge status should remain 'active' until the charge is cancelled.

0 Likes
New Member
2 0 0

If it remains "active" after 30 days, does it mean it has been paid in the next month?

If test is false, will the updated_at in the data be updated?

0 Likes
Shopify Staff
Shopify Staff
268 36 38

Hey @Komorebi,

 

updated_at will only change if the recurring charge is updated (e.g. cancelled or capped amount changed).

 

If it remains "active" after 30 days, does it mean it has been paid in the next month?

Service should continue to be provided to a shop as long as their recurring charge is in the Active state. More info on billing concepts here.

0 Likes