- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I would like Reference Transactions to be enabled for my Sandbox Environment.
MERCHANT ID: HK7CLA786MML4
Thanks.
Best regards,
Brian
Solved! Go to Solution.
- Labels:
-
Reference Transactions
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears you have not submitted the order creation request correctly, as it's missing the billing agreement token.
https://developer.paypal.com/limited-release/reference-transactions/
"When you initiate a reference transaction, PayPal recommends that you use a billing agreement ID to avoid confusion. You pass the ID of the billing agreement in the JSON request body of a /v1/payments/payment call or a v2/orders call"
Follow the guide and you should no longer experience the specific error response message "NOT_ELIGIBLE_FOR_TOKEN_PROCESSING".
Thanks !
Was my post helpful? If so, please give me a kudos!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for sharing the merchant id for your sandbox account.
Reference transactions show as being enabled on the sandbox account.
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MTS_Justin ,
I have tried the request again but still failing with `NOT_ELIGIBLE_FOR_TOKEN_PROCESSING`. Please find details below:
Request: POST https://api.sandbox.paypal.com/v2/checkout/orders/63P03801A2095502F/capture
Request Body:
Thank you for your assistance.
Best regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears you have not submitted the order creation request correctly, as it's missing the billing agreement token.
https://developer.paypal.com/limited-release/reference-transactions/
"When you initiate a reference transaction, PayPal recommends that you use a billing agreement ID to avoid confusion. You pass the ID of the billing agreement in the JSON request body of a /v1/payments/payment call or a v2/orders call"
Follow the guide and you should no longer experience the specific error response message "NOT_ELIGIBLE_FOR_TOKEN_PROCESSING".
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you @MTS_Justin
This helped me achieve my goal!
Thanks a lot!
Best regards,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Justin!
I'm trying to figure out how to integrate PayPal API version 2 in our system here and it turns out that I faced the same issue as the OP while following the steps described here in your documentation: https://developer.paypal.com/docs/checkout/advanced/customize/reference-transactions/
it's a sandbox env, my merchant_id is WQKQN7N7882MS.
In more detail:
Method used: https://api-m.sandbox.paypal.com/v2/checkout/orders/0S204677HR0605331/authorize
The request body:
"payment_source": {
"token": {
"id": "2KS09886FT421350T",
"type": "PAYPAL_TRANSACTION_ID"
}
}
}
The response:
I tried taking the same steps after creating a billing agreement id and using it in this request instead of transaction id and it worked. But this way I would have to mix different versions of the API and I would love to avoid it.
I've also found this note:
I don't think I fully understand what it means. Does it mean that I can use it for our use case?
For more context, here is our use case:
We have a subscription like model where customers sign up once and we as a service provider would like to trigger payments on their behalf later on.
Could you please clarify what I did wrong and how to make reference transactions?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- please enable future transactions in my sandbox account in REST APIs
- Could not create PayPal Buttons in PayPal Payments Standard
- Enable Reference Transactions for sandbox account in Sandbox Environment
- How to enable Reference Transactions in sandbox account? in Sandbox Environment
- Enable Reference Transactions for sandbox account in Sandbox Environment