Subscription did not get auto renewed in sandbox mode but it was created successfully

swapnadip1
Contributor
Contributor

I have created a subscription in sandbox mode, the subscription was activated but it was not renewed the next day even after the next billing time.
There are no webhook errors. The subscription creation is properly showing in both the sandbox business account and the personal account. 
Below is the details of the subscription:-
{
"status": "ACTIVE",
"status_update_time": "2024-10-24T06:15:30Z",
"id": "I-NGDCH6N1VGYR",
"plan_id": "P-6X725745SY887305VM4M5VZY",
"start_time": "2024-10-24T06:14:26Z",
"quantity": "1",
"shipping_amount": {
"currency_code": "USD",
"value": "0.0"
},
"subscriber": {
"email_address": "",
"payer_id": "4C8WYE954JVLL",
"name": {
"given_name": "John",
"surname": "Doe"
},
"shipping_address": {
"address": {
"address_line_1": "1 Main St",
"admin_area_2": "San Jose",
"admin_area_1": "CA",
"postal_code": "95131",
"country_code": "US"
}
}
},
"billing_info": {
"outstanding_balance": {
"currency_code": "USD",
"value": "0.0"
},
"cycle_executions": [
{
"tenure_type": "REGULAR",
"sequence": 1,
"cycles_completed": 1,
"cycles_remaining": 0,
"current_pricing_scheme_version": 1,
"total_cycles": 0
}
],
"last_payment": {
"amount": {
"currency_code": "USD",
"value": "1.0"
},
"time": "2024-10-24T06:15:29Z"
},
"next_billing_time": "2024-10-25T10:00:00Z",
"failed_payments_count": 0
},
"create_time": "2024-10-24T06:15:28Z",
"update_time": "2024-10-24T06:15:30Z",
"plan_overridden": false,
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-NGDCH6N1VGYR/cancel",
"rel": "cancel",
"method": "POST"
},
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-NGDCH6N1VGYR",
"rel": "edit",
"method": "PATCH"
},
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-NGDCH6N1VGYR",
"rel": "self",
"method": "GET"
},
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-NGDCH6N1VGYR/suspend",
"rel": "suspend",
"method": "POST"
},
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-NGDCH6N1VGYR/capture",
"rel": "capture",
"method": "POST"
}
]
}
Do the subscriptions in sandbox mode get auto-renewed?

Login to Me Too
2 REPLIES 2

MTS_Jennifer
Moderator
Moderator

Hello @swapnadip1 ,

Thank you for posting to the PayPal Sandbox Community. Thank you for providing the subscription id. The subscription is set to process daily, indefinitely. I'm seeing that it is processing with no issues. Please keep in mind that subscriptions process in a batch, and the exact time of the subscription payment will fluctuate a little. It may fluctuate between 17:25:36 GMT+05:30 & 18:55:08 GMT+05:30 daily, until you cancel the subscription, or the chosen funding source expires (if the funding source is a card).

 

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

swapnadip1
Contributor
Contributor
Thanks for your reply. Suppose the subscription is taking a bit time to renew on Paypal's end but my webapp will stop the premium access to the user as the end date time is over in its database. How long can be the max delay time to renew so that I can update it accordingly in my database?
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.