Activating a subscription after capturing outstanding_balance will charge the customer again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm attempting to set up subscription based payments for an application using PayPal's REST API.
These are the payment preferences of the plan:
"payment_preferences": { "service_type": "PREPAID", "auto_bill_outstanding": false, "setup_fee": { "currency_code": "EUR", "value": "0.0" }, "setup_fee_failure_action": "CANCEL", "payment_failure_threshold": 1 }
While testing the payment failure on sandbox i have noticed that after capturing the outstanding balance like described here: Payment failures and recovering balances , when i activate the subscription the next_billing_time will be set at 10:00AM GMT in the current day, and it will end up charging the customer twice.
Expected behavior is after capturing the outstanding balance to be able to activate the subscription and the next_billing_time should be at the end of this billing cycle.
How can i achieve this?
Thanks,
Alex [Removed].
- 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
Thank you for the reply.
I understand how auto_bill_outstanding works but i don't think is going to help me in the scenario I'm trying to achieve.
The subscriptions I want to set up are monthly subscription. This means the customer will be billed each month for the service he is using on our platform.
If the customer does not have enough balance in his PayPal account and he does not have any card or bank account associated with his PayPal account, the payment will fail. With payment_failure_threshold set to 1, PayPal will automatically put the subscription in SUSPENDED status and billing_info.outstanding_balance will reflect the amount of the failed payment.
We will allow another X days of usage of our service, during this time we will send the customer notifications via email that his payment failed and his subscription will be canceled, thus also revoking his access to our platform.
When the customer will make sure that his PayPal account has enough founds to perform the payment, from our side we need to execute the Capture authorized payment on subscription request to clear the billing_info.outstanding_balance of the subscription and process the payment.
When payment will succeed we have to execute another request to ACTIVATE the subscription again.
Attempting to activate the subscription while it still has outstanding_balance will fail and the subscription does not activate automatically after the outstanding balance was cleared (paid by the customer).
And here is the issue I'm facing, because when activating the subscription, the next_billing_time will be set in the same day the request to activate the subscription was executed, and it will end up charging the customer again.
If I use the auto_bill_outstanding feature, that means the customer will get an entire month free of service usage without payment and that is not something we can afford.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can anyone help me with this issue?
Summary:
What is the proper way of activating a subscription that was suspended because payment failed?
There is no mention about this here: Payment failures and recovering balances

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @alex_novacean
Thank you for posting to the PayPal community.
To activate a suspended subscription, please follow the below steps.
- Go to your Subscriptions.
- Select the subscription profile.
- Select the button next to "Active".
For more information, please visit the following link - https://www.paypal.com/in/cshelp/article/HELP289#
I recommend modifying the "payment_failure_threshold" value to prevent subscription suspension after a single payment failure.
The "payment_failure_threshold" refers to the maximum number of payment failures before a subscription is suspended.
Here are the steps to follow:
Login to Paypal.com >> go to "pay &get Paid" >> click on "subscription" >> select "Manage subscription" >> Locate the desired subscription plan >>Click on "See Details" which can be found under the three dots>> Navigate to "Pricing">> Under "Manage Your Billing Preferences", update the missed billing cycles accordingly.
For more information, kindly refer to the provided detailed guide link.
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Created subscription failed to activate after few hours in Sandbox Environment
- Subscription did not get auto renewed in sandbox mode but it was created successfully in Sandbox Environment
- Active Subscription has next_billing_time in past in REST APIs
- Mandatory Account Creation Hindering Customer Experience in REST APIs
- Activating a subscription after capturing outstanding_balance will charge the customer again in REST APIs