Jump to content

2 PayPal Redirect Problems/Questions


agentk

Recommended Posts

Hi

I am trying to find the old original paypal code that allows me to redirect a customer to a specific link after successfull payment and to yet a different link if they cancelled the payment half way in.  I used to be able to get all that through paypal... or even google... but for some reason I can not find it anywhere.

 

Here is what I got:

<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="me@hotmail.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="$<?php echo $quantity ?> Article Order for <?php echo $visitor ?>">
<input type="hidden" name="amount" value="<?php echo $quantity ?>">
<input type="submit" value="Complete Your Order Now!" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

 

Secondly, I want to automatically redirect all my aweber list subscribers to paypal checkout.  For example: When people subscribe to my list (using the code below) I want them to subscribe to my list, yet at the same time I want it to have the same effect as if they would click on the payment button above. 

So in one sense... two submissions with one click.  Is that duable?

 

Here is my aweber code:

<FORM action=http://www.aweber.com/scripts/addlead.pl method=post>
  <div align="right">
      <INPUT type=hidden value=1718226460 name=meta_web_form_id> 
      <INPUT type=hidden name=meta_split_id> 
      <INPUT type=hidden value="su-success" name=unit> 
      <INPUT type=hidden value=http://www.mygreatempire.com/success/su2.html name=redirect> 
      <INPUT type=hidden value="Barry-AS" name=meta_adtracking> 
      <INPUT type=hidden value=1 name=meta_message> 
      <INPUT type=hidden value=from,name name=meta_required> 
      <INPUT type=hidden value=0 name=meta_forward_vars> 

First Name: <INPUT name=name>
Email Address: <INPUT name=from>

      <INPUT type=submit value="Click For Online Wealth" name=submit>
</FORM>

 

I sincerly hope this is duable.  If not, what would come close?

 

Thanks a Billion in Advance!

Link to comment
Share on other sites

Excellent... thanks a million, that is JUST what I needed!

 

For the second question: Is there a way to have a double reaction happening with the click of 1 button?

 

Like... when a user hits "subscribe" to my mailing list, is it possible to automatically send them to the paypal checkout page?

 

Not sure if the previous or even this description makes sense.  Let me know if you need further explanation.

 

Thanks again DanielO

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.