Activate a recurring application charge API response error "not found" in node js

Suneel
Tourist
14 0 1

I have followed this document and I have test these api in my development store.
https://shopify.dev/docs/admin-api/rest/reference/billing/recurringapplicationcharge

I have run Create a recurring application charge api successfully and get response and redirect to "confirmation_url" approve charges page.
POST /admin/api/2020-07/recurring_application_charges.json

After that when I click on "Approve charges" button then I received a charge_id then I have run Activate a recurring application charge api

POST /admin/api/2020-07/recurring_application_charges/455696195/activate.json

{
  "recurring_application_charge": {
    "id": 455696195,
    "name": "Super Mega Plan",
    "api_client_id": 755357713,
    "price": "15.00",
    "status": "accepted",
    "return_url": "http://yourapp.com",
    "billing_on": "2020-09-08",
    "created_at": "2020-09-08T13:05:54-04:00",
    "updated_at": "2020-09-07T20:00:00-04:00",
    "test": true,
    "activated_on": null,
    "cancelled_on": null,
    "trial_days": 0,
    "trial_ends_on": null,
    "decorated_return_url": "http://yourapp.com?charge_id=455696195"
  }
}

But I received error message "not found" in response.
please anyone help me why I face this type of error?
is there any issue of development store means Activate a recurring application charge api not work on development store. is it ture?

fluxuss
New Member
3 0 0

I am having the same problem with the Python library of shopify. Anyone to help?

0 Likes
shahrukhAhmed
Shopify Partner
24 0 2

Did you find a solution for this?

0 Likes