Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8360315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:25:32+00:00 2026-06-09T11:25:32+00:00

I’m using the PayPal standard SUBSCRIBE button. The HTML looks something like the code-snippet

  • 0

I’m using the PayPal standard SUBSCRIBE button. The HTML looks something like the code-snippet below. The issue is that it appears FORM parameters a1/p1/t1, a3/p3/t3, src/sra, and any other advanced HTML variables for the PayPal SUBSCRIBE button cannot be overridden. That is, they remain set to the values you configured in the standard-button configuration on PayPal’s website.

QUESTION: how can I programmatically override the advanced PayPal subscription parameters from my website? Is this even possible? Thanks.

<form accept-charset="UTF-8" action="https://www.paypal.com/cgi-bin/webscr" class="signup_company" id="signup_company" method="post">
  <input type="hidden" name="cmd" value="_s-xclick" />
  <input type="hidden" name="hosted_button_id" value="MY_PAYPAL_BUTTON_ID" />
  <input type="hidden" name="currency_code" value="USD" />

  <!-- First two months of subscription are free. -->
  <input type="hidden" name="a1" value="0" />
  <input type="hidden" name="p1" value="2" />
  <input type="hidden" name="t1" value="M" />

  <!-- Recurring subscription payments. -->
  <input type="hidden" name="a3" value="29.95" />
  <input type="hidden" name="p3" value="1" />
  <input type="hidden" name="t3" value="M" />
  <input type="hidden" name="src" value="1" />
  <input type="hidden" name="sra" value="1" />

  <!-- Pass-through variable sent to paypal; it is set in javascript before the submit. -->
  <input type="hidden" name="custom" value="Evergreen::::foo@baz.com::::4" />

  <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_SM.gif"
    border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"
    onclick="$(#signup_company).submit();" />
  <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:25:33+00:00Added an answer on June 9, 2026 at 11:25 am

    After speaking with a PayPal tech, here is the how to proceed with the PayPal Standard Subscribe button, if you want maximal programmatic control over the HTML form variables:

    1. Do not save your button as a hosted button at PayPal. If you do, then overriding whatever price tiers that you have configured and saved at PayPal cannot be overridden.
    2. Do not encrypt your button. This means that when you create your Subscribe button, you should do two things: (a) use your e-mail address in the HTML form-post, rather than some merchant ID from PayPal; and (b) unprotect / unencrypt the HTML form variables generated during the button-create step.

    Once you copy-and-paste the PayPal-generated HTML into your webapp, you can then rely on JavaScript event-handler to dynamically adjust the HTML form-parameters that determine the pricing / duration / etc of your subscription.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have this code to decode numeric html entities to the UTF8 equivalent character.
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have thousands of HTML files to process using Groovy/Java and I need to
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.