- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am doing paypal subscription integration and I wanted to keep track of subscription next_billing_time. After subscription is activated I tried to send api call to get subscription details to keep next_billing_time in my database however returned next_billing_time value was before last_payment like
last_payment: '2020-06-25T21:17:56Z' and next_billing_time: '2020-06-25T21:17:53Z'
so i thought i might get these details a bit later for example when payment.completed webhooks arrives however next_billing_time still did not change. I verified it in naive way and realized that next_billing_time is updated to correct date after about 20 minutes or so. I wonder whether I should keep requesting until i get updated data or is it some sandbox weird delay which will not occur on live api? if it is expected behavior how am I supposed to keep track of next_billing_time?
Solved! Go to Solution.
- Labels:
-
Payments REST APIs
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If anyone is wondering whether it is expected behavior, yes it is. Nothing is going to change on production paypal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If anyone is wondering whether it is expected behavior, yes it is. Nothing is going to change on production paypal.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.