Recurring Payment Button | Add additional options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to add some options to a subscription button on my business account, but I'm not sure if it's possible to do or not via PayPal's website or if it's only possible if I pull out the code and am modifying it within an external website. I typically just use the email links to send clients, so I don't have the actual button on my website.
Basically I just want to edit the "Dropdown menu with prices and options".
Currently the only Frequency options are: Daily, Weekly, Monthly, Yearly.
Is there a way to add Quarterly and Biyearly? If so, how does one go about doing this?
I appreciate any assistance.
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I should add that I see the ways to add custom variables on this page:
I just don't really understand how to implement them. I'm not really a developer.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi eighty3design,
I understand how this can be a little confusing, I'll try to explain this the best I can, but let me know if you have further questions.
The `a3`, `p3`, and `t3` variables will determine the amount and cycle to which the recurring payments will bill.
For my example here, let's say that we want to charge $10 Semi-Yearly. We would actually specify this as every 6 months.
a3 = 10.00
p3 = 6
t3 = M
Example Link:
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions&a3=10.00&p3=6&t3=M&src=1&item_name=Subscription%20Example&item_number=SUBSCR-6M-10&business=n8<AT>x.com
To use the example link, please copy/paste it into a text editor and change the `<AT>` into an `@` for the value of the `business` variable. Then copy and paste the corrected link into a browser window.
For quarterly, you'd just want to change the logic of the above to every 3 months instead of every 6 months. So you'd want to change `p3` to 3.
Example Link:
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions&a3=10.00&p3=3&t3=M&src=1&item_name=Subscription%20Example&item_number=SUBSCR-6M-10&business=n8<AT>x.com
To use the example link, please copy/paste it into a text editor and change the `<AT>` into an `@` for the value of the `business` variable. Then copy and paste the corrected link into a browser window.
Hope this helps!
- PP_N8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is helpful, but I want to condense the different options into a single button with a dropdown so they could see all the options and choose the cycle they want. I don't really want to have to send 4 different button links.
Also, does this tie back to my account so I can monitor them from the "Recurring Payments Dashboard"?
I was hoping this process wouldn't be quite so external from PayPal itself. In the "Create a new button" wizards they have almost everything I need to do it all from there. They just don't have two billing cycle options I need. There's daily, weekly, monthly, and yearly. I need to offer quarterly (3 months) and semi-annual (6 month) options to my clients in addition to monthly and yearly. It seems like a lot of extra hassle and confusion for something that should really already be in there, IMO.
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi eighty3design,
This may be a bit overkill compared to the 4 different buttons/links, and would only work on an HTML/JS website. But I was able to hack up this example pretty quickly.
Example and code here on PLNKR.co:
http://plnkr.co/edit/TLI6vkzGJmYjgBYWm4sX?p=preview
Here's the raw JavaScript:
angular.module('subscribe', []); angular.module('subscribe') .controller('subscribeCtrl', function($scope, subscribeService) { $scope.subscribeService = subscribeService; $scope.options = []; $scope.options[0] = { name: "Monthly", amount: 10.00 }; $scope.options[1] = { name: "Quarterly", amount: 30.00 }; $scope.options[2] = { name: "SemiYearly", amount: 60.00 }; $scope.options[3] = { name: "Yearly", amount: 120.00 }; }); angular.module('subscribe') .service('subscribeService', function() { function selectPlan(planName) { subscribe.plan = planName; if(planName === "Monthly") { subscribe.a3 = "10.00"; subscribe.p3 = "1"; subscribe.t3 = "M"; subscribe.dropDownLabel = "$10.00 every Month"; } else if(planName === "Quarterly") { subscribe.a3 = "30.00"; subscribe.p3 = "3"; subscribe.t3 = "M"; subscribe.dropDownLabel = "$30.00 every 3 Months"; } else if(planName === "SemiYearly") { subscribe.a3 = "60.00"; subscribe.p3 = "6"; subscribe.t3 = "M"; subscribe.dropDownLabel = "$60.00 every 6 Months"; } else if(planName === "Yearly") { subscribe.a3 = "120.00"; subscribe.p3 = "1"; subscribe.t3 = "Y"; subscribe.dropDownLabel = "$120.00 every Year"; } else { //defaulting just incase.. subscribe.a3 = "10.00"; subscribe.p3 = "1"; subscribe.t3 = "M"; subscribe.dropDownLabel = "$10.00 every Month"; } } var subscribe = { a3: "10.00", p3: "1", t3: "M", plan: "", dropDownLabel: "Select an Option", selectPlan: function(subscribe){ return selectPlan(subscribe); } }; return subscribe; });
Here's the raw HTML Button Code:
<body ng-app="subscribe"> <div class="container" ng-controller="subscribeCtrl"> <div class="row"> <div class="col-md-12"> <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input type="hidden" name="cmd" value="_xclick-subscriptions"> <input type="hidden" name="business" value="n8<AT>x.com"> <input type="hidden" name="lc" value="US"> <input type="hidden" name="item_name" value="Recurring Subscription"> <input type="hidden" name="item_number" value="OptionsExample"> <input type="hidden" name="src" value="1"> <input type="hidden" name="currency_code" value="USD"> <div style="margin-top: 10px"></div> <div class="dropdown"> <button class="btn btn-default dropdown-toggle" type="button" id="optionsDropDown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> <input type="hidden" name="on0" value="Options">{{subscribeService.dropDownLabel}} <span class="caret"></span> </button> <ul class="dropdown-menu" aria-labelledby="optionsDropDown"> <li ng-repeat="sOption in options"><a href="#" ng-click="subscribeService.selectPlan(sOption.name)">{{sOption.name}} {{sOption.amount | currency:"$"}}</a></li> </ul> </div> <div style="margin-top: 10px"></div> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="a3" value="{{subscribeService.a3}}"> <input type="hidden" name="p3" value="{{subscribeService.p3}}"> <input type="hidden" name="t3" value="{{subscribeService.t3}}"> <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> </form> </div> </div> </div> </body>
Hope this helps!
- PP_N8
~Disclaimer~
Any code or examples provided are purely examples and not intended for use in a production (live) environment. If you would like to use any examples provided, please ensure you modify the code for your specific usage. The examples are provided As-Is without any warranty of any kind. If the examples don't work, you may message the creator or poster through this forum, however, the responsibility to ensure that the example is secure and it's doing what you want it to do and nothing else, is the responsibility of the person using it.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I'm trying to submit additional files for my dispute, but I can't figure out how! in About eBay (Archive)
- any additional fee by credit card payment to e-bay purchase in About Payments (Archive)
- Different Payment Options for Different Recurring Payments in About Payments (Archive)
- help creating combined postage in About Payments (Archive)
- Additional PayPal Debit Card - Where is this option now? in About Products (Archive)