One time purchase and recurring payments in single transaction in php
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to integrate the PayPal payment method for susbscription recurring and one-time payments in a single transaction in PHP. I have two types of products one is a subscription recurring and another one is a one-time payment (Like an addon for recurring) but I want to pay for both in a single transaction.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @maansingh,
Thank you for your post and welcome to the Community Forum.
A reference transaction is a financial transaction from which subsequent transactions can be derived. For example, When a buyer makes a purchase on your site, PayPal generates a transaction ID, called a reference transaction ID. Later, you can use the reference ID to initiate another transaction.
This topic describes concepts for billing agreements and reference transactions for recurring payments of varying amounts of money on a varying schedule.
https://developer.paypal.com/docs/archive/express-checkout/integration-guide/ECReferenceTxns/
Note: For concepts about recurring payment on a fixed schedule where PayPal automatically bills the buyer, see Recurring payments.
To enable "Reference Transaction" feature, I request to please contact our PayPal Customer service via link - https://www.paypal.com/in/smarthelp/contact-us (then choose at the bottom one of the contact methods - email or phone).
They will be able to assist you further as they are specially trained to address this type of account inquiry .
Sincerely,
Chiranjeevi
PayPal/Braintree 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.
- Payments Refunded Automatically After Successful Transactions - PayPal Business Account Issue in REST APIs
- 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)
- Advanced checkout and no 3DS information in the response in REST APIs