English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

http://answers.yahoo.com/question/index;_ylt=Ag8gCl2PWJp1c5gHoIiHYrvsy6IX?qid=20070207084700AAnEYF6

What does the second answer down mean on that link?
Could you give a full example plese.

2007-02-07 03:59:52 · 4 answers · asked by peter s 1 in Computers & Internet Programming & Design

4 answers

Her answer does not accomplish what you are after. Her answer simply opens a second Web page in a new window, before PayPal payment is complete.

If that's all you want -- a second window from your Web site to open, regardless of whether payment is ever received -- then that solution is fine.

If what you actually want is to have PayPal redirect to a confirmation page on your site, after PayPal has processed a transaction, you do that within your PayPal merchant setup:

Assuming you use Paypal's Website Payments Standard, you simply turn Auto Return on.

To turn Auto Return on:
1. Log in to your PayPal account at https://www.paypal.com.
2. Click the Profile subtab.
3. Under the Selling Preferences column, click Website Payment Preferences.
4. Under Auto Return for Website Payments, click the On radio button to enable AutoReturn.
5. In the Return URL field, enter the URL to which you want your buyers redirected after
payment completion.
NOTE: If the Return URL you supply is not valid, PayPal displays the standard You Made a Payment page when payment is complete.
6. Click Save.

2007-02-07 04:44:09 · answer #1 · answered by Anonymous · 0 0

Sorry to have been so terse: the target means to open the link in a new window. for example, you could set up the form so that, when the item is paid, (submit is pressed and action= goes through your verification routine) then the link address you set up to link to goes to a separate, new (blank) window. If the way you verify paypal payment is in a javascript, then a *different* way you could open a separate window with a different url is with the window.open routine, which would *also* use "_blank" as a target. At any rate, "_blank" is the common name for a new window, separate from the window currently being viewed.

2007-02-07 12:08:00 · answer #2 · answered by fjpoblam 7 · 0 0

It's fairly clear... except for one detail;

Your form's submit button must call the function. For example, the submit may look like:



so that when the button is pressed, the javascript function is executed. The first line in the javascript opens a new window and the second line submits the form.

2007-02-07 12:05:57 · answer #3 · answered by BigRez 6 · 1 0

This means that you can insert into you html code to make a form submit. It is just a javascript code!

2007-02-07 12:04:21 · answer #4 · answered by rcvhoya 2 · 0 0

fedest.com, questions and answers