Problem with PayPal payment form

Hi.

Can somebody help me. This form works, and redirects the user to paypal payment. But i want the user to be redirectet to my "thank you page" after the payment is accepted:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self" id="PayPalForm">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="tax_cart" value="00.25">
<input type="hidden" name="business" value="jesper@mail.dk">
<input type="hidden" name="cancel_return" value="http://www.returnurl.dk/info/kontakt">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.returnurl.dk/thanks">
<input type="hidden" name="invoice" value="4601">

<input type="hidden" name="country" value="DK">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="currency_code" value="DKK">
<input type="hidden" name="handling_cart" value="1">

<input type="hidden" name="item_name_1" value="test produkt 1">
<input type="hidden" name="amount_1" value="1.00">
<input type="hidden" name="quantity_1" value="1">
<input type="hidden" name="tax_1" value="00.25">

<input type="submit" />
</form>
Jesper ChristensenProgrammerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott MadeiraCommented:
Change your field name from return to return_url

OR

set the URL in your PayPal acount configuration.

Also make sure that this function is turned on in your PayPal account configuration.
0
Scott MadeiraCommented:
Forgive me, the variable name is return and not return_url.  Do, however, make sure you have auto return configured in your PayPal account for thsi function to work.
0
Jesper ChristensenProgrammerAuthor Commented:
I can´t find the auto return in my acount :( Has spent hours looking. Can you give me a hint?
0
Scott MadeiraCommented:
Login, choose profile and then "My Selling Tools" from the left navigation. In teh selling Online section choose to update Website Preferences.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jesper ChristensenProgrammerAuthor Commented:
Thank you !! you saved my weekend.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
E-Commerce

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.