Sandbox recurring payments not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello MerchatTechnicalSupport,
Can you please enable my sandbox account so it able to process recurring payments. Below is my account information.
My Account ID is "<removed>"
Account Type : Business-Pro
- Labels:
-
Recurring Payments

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @WEN-BC ,
There is one other option for you, Reference Transactions. If you are charging different amounts monthly, you can setup Reference Transactions.
Here are the details:
https://developer.paypal.com/limited-release/reference-transactions/
Thank you,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jennifer,
Thank you for suggesting the option of Reference Transaction. I have read through the page. That helps with recurring payments with variable amounts.
I have another question. What can we do if we want a credit card form with Paypal as an option without clients (payers) having to sign up with Paypal?
Kind Regards,
Wen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @WEN-BC,
Future Payments through Advanced Credit and Debit Cards will allow you to run a Reference Transaction on Credit Cards:
Thank you,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jennifer,
That sounds like the path to go. I visited the link you forwarded; it says merchants need to enable Websites Payment Pro.
I visited https://developer.paypal.com/api/nvp-soap/payflow/website-payments-pro/, it says "PayPal isn't accepting new users for this feature".
Also, in sandbox business account under profile setting, I can't see "update" for type "business", only "close" link is there. Would you mind providing more advice about it? Thank you so much.
Wen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @WEN-BC ,
First you need Advanced Credit and Debit Card enabled on your sandbox account:
Here are the steps:
You can use this to integrate Advanced Credit and Debit Card:
https://developer.paypal.com/docs/checkout/advanced/integrate
Then use the Future Payments, with Advanced Credit and Debit Cards. Future payments is available with Advanced Credit and Debit Card.
It is not available for Website Payment's Pro. It does say that you will need Reference Transactions. Reference Transactions is an option that requires a back end team to approve for accounts for live accounts. Our documentation indicates that if you previously had Website Payment's Pro, you can get Reference Transactions. Website Payment's Pro cannot be enabled on new accounts. Even if your account has never had Website Payment's Pro, you can still request Reference Transactions on a live account if you provide the justification, the back end team can still review the application for the product.
Thanks,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jennifer,
Thank you very much for your answer.
"Advanced Credit and Debit Card" was already enabled for our sandbox business account. For "Initiate future transactions", it worked for the first step "Create an order", for the second step "Authorize payment", I used one of the previous transaction ids, I got the following response:
name: NOT_AUTHORIZED
issue: NOT_ELIGIBLE_FOR_TOKEN_PROCESSING
description: API caller is not enabled to process payments with the specified type of token. Please contact customer support to request permissions to process transactions with this type of token
message: Authorization failed due to insufficient permissions.
debug_id: b1e69df21bf83
links: https://developer.paypal.com/docs/api/orders/v2/#errorNOT_ELIGIBLE_FOR_TOKEN_PROCESSING
Would you mind helping me with it? Thanks.
Kind Regards,
Wen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @WEN-BC ,
I have added the Future Payment Scope to your app, please try again.
Thanks,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jennifer,
Thank you for getting back to me. I tested with both REST Api apps, "ONE Simple Plan" and "Default Application" under my sandbox business account, I still got the same error as I got on Monday. My sandbox merchant ID (account ID) is : TRL57SX523SWL as I already sent you. I used the "client ID" and "secret" of the app to obtain an access token, then I use the access token to create an order as a first step to initiate future transaction. it works. Then for the second step "authorize payment", I used the order id and one of the previous transaction ids of the payment to this sandbox business account, there was the same error (permission). Am I missing anything?
Kind Regards,
Wen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jennifer,
Would you mind helping me with the issue I posted on Wednesday? Thank you so much.
Wen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @WEN-BC ,
I was testing in sandbox. First you need to complete a successful Advanced Credit/Debit Card payment.
After you complete a successful payment:
Create an order with the intent of capture
https://api.sandbox.paypal.com/v2/checkout/orders
{
"intent": "CAPTURE",
"purchase_units": [
{
"amount": {
"currency_code": "USD",
"value": "100.00"
},
"shipping": {
"name": {
"full_name": "John Doe"
},
"address": {
"address_line_1": "123 W Main St",
"admin_area_2": "San Jose",
"admin_area_1": "CA",
"postal_code": "95112",
"country_code": "US"
}
}
}
],
"application_context" : {
"return_url" : "http://www.example.com",
"cancel_url" : "http://my_cancel_url.com",
"error_url" : "http://errorurl.com",
"shipping_preference" : "SET_PROVIDED_ADDRESS"
}
}
Then capture the order id that is created and add the payment source. The payment source will be the original successful credit card transaction id.
https://api.sandbox.paypal.com/v2/checkout/orders/{{Order_id}}/capture
{
"payment_source": {
"token": {
"id": "{{Successful Transaction id}}",
"type": "PAYPAL_TRANSACTION_ID"
}
}
}
Thank you,
Jennifer
MTS
PayPal

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Things don’t appear to be working at the moment in PayPal Payments Standard
- How to enable on-demand / recurring payments to existing PayPal checkout? in SDKs
- How can I revoke SamCart's access my recurring payments? in NVP/SOAP APIs
- Recurring Payment issue in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Compliance violation. flag based on the account origin ? in Sandbox Environment