How to add a setup fee to a subscription without using a button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do see that I can create a subscription button which is saved as a product plan to be used by a JS subscription button.
But I need to add a "setup_fee" using a standard form like:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="YXZABCSAMGS">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="1">
<!-- Set the subscription. -->
<input type="hidden" name="item_name" value="Product Name : Plan">
<input type="hidden" name="item_number" value="123456">
<input type="hidden" name="a3" value="20.00">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<!-- Set recurring payments until canceled. -->
<input type="hidden" name="src" value="1">
<input type="submit" name="submit" value="Subscribe">
</form>
Current docs provide no such option but I am hoping that they may be outdated. I did try this:
<input type="hidden" name="setup_fee" value="10.00">
But it didn't work. It would be a most useful option... does such a thing exist?
- Labels:
-
Recurring Payments

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @WilliamK2,
Thank you for posting to the PayPal community.
Yes, PayPal Website Payments Standard (WPS) is a legacy integration.
Please refer the below guide link to locate the available HTML variables.
We recommend merchants to integrate our latest PayPal Checkout (Smart Subscription button) product soon.
Guide link : https://developer.paypal.com/docs/subscriptions/
https://developer.paypal.com/docs/subscriptions/#link-chooseasubscriptionssolution
https://developer.paypal.com/docs/subscriptions/integrate/
If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detail information and error details.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, but the documentation does not provide an option for adding "setup_fee". In fact it doesn't even include a3, pt, t3 variables.
As for the NEW subscription button, the concept is useless for our projects for several reasons, the main one being that it requires creating product/plans offsite.
As for the suggestion of our current method being "legacy" which suggests that it is outdated and insecure, I find that claim baseless. Why discontinue using something that is still the best solution for shopping cart integration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The /cgi-bin/webscr/ API may be old, but it works well and I am sure that there are 1000's of developers who still use it because they prefer it... programmatic control over all variables instead of being dependent on what is stored off-site as "button data".
So why not add a new variable for "setup_fee"?
That would not be difficult, especially when considering that a3, p3, t3 variables are already supported with "_xclick-subscriptions" even though they too are not included in the documentation for the /cgi-bin/webscr/ API .
Can you please pass this request onto your developers, or provide a contact for me to do so?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Button for my website, and webhook in PayPal Payments Standard
- Create Smart Button Redirect to Developer Guide in PayPal Payments Standard
- paypal buttons code and rm email in PayPal Payments Standard
- Billing Plan override is not allowed due to insufficient permissions in PayPal Payments Standard
- Need help with first webhook in Sandbox Environment