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 7867319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:40:52+00:00 2026-06-03T00:40:52+00:00

I am using this code to pass my values to paypal . Now my

  • 0

I am using this code to pass my values to paypal.
Now my problem is that, that after the payment is complete I should be on my page so that I can manipulate some of the things like I should save the Token for future reference and so. Again I comes back to my page when user implicitly clicks the link formed in the page of paypal after the payment is done.But here the problem is I cant just rely on user to click or do so.I want that it should be implicit without any user intervention.
Thanks in advance,please shed some light…..

<% 

    String apiusername="USERNAME";
    String apipassword="PASSWORD";

    String truePath="http://localhost:8080/Befundo/xtraFiles/paypal/paypalResponse.jsp";
    String falsePath="http://localhost:8080/PaypalGS/paypalResponseCancel.jsp";

    String itemName="Computer Laptop";
    String quantity="2";
    String amount="100";
%>


<body >
<form name="paypalForm" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
     <input type="text" name="cmd" value="_xclick" />
     <input type="text" name="business" value="<%=apiusername %>" />
     <input type="text" name="password" value="<%=apipassword %>" />
     <input type="text" name="custom" value="1123" />
     <input type="text" name="item_name" value="<%=itemName%>" />
     <input type="text" name="amount" value="<%=amount%>"/>
     <input type="hidden" name="quantity" value="<%=quantity %>" />
     <input type="text" name="rm" value="1" />
     <input type="text" name="return" value="<%=truePath %>" />
     <input type="text" name="cancel_return" value="<%=falsePath %>" />
     <input type="text" name="cert_id" value="API Singature" />
     <input type='submit' value='Pay'>
</form>
</body>
  • 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-03T00:40:54+00:00Added an answer on June 3, 2026 at 12:40 am

    Yes you can do this by configuring the auto return url in paypal profile.

    To set up Auto Return:

    1. Log in and click the Profile subtab under My Account.
    2. Click the Website Payment Preferences link under Selling Preferences.
    3. Click the On radio button to enable Auto Return.
    4. Enter the Return URL.
    

    When you’ll log into merchant’s profile, you’ll see:

    preferences1

    and after clicking website payment preferences link, you’ll see:

    preferences2

    Here you can give the autoreturn url.

    This will enable the auto return , which means that after payment being successful, paypal will automatically redirect to your website, without user intervention.

    Here’s paypal guide for enabling auto return: https://www.paypal.com/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside

    Hope this helps.

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

Sidebar

Related Questions

I am using this code. Trying to pass form values from one internal page
Using This code: I am tring to fill the page with the data and
While using this code, i can't get any results... Ext.define('Teste.view.Main', { extend: 'Ext.Container', initialize:
After using this code to get my link to show me 3 database entrys
i am using this code to add values to database <?php $debdes = $_POST['debdes'];
I am writing a javascript function like this, my problem is I can pass
Using this code to zip a folder and it works perfect on small files
Using this code var html='<div class=somediv></div>'; var target=document.getElementById('contentArea'); target.appendChild(html); I'm getting Uncaught Error: NOT_FOUND_ERR:
Im using this code for mysql connection $con = mysql_connect(localhost:/var/lib/mysql/mysql.sock, abc , xyz); if
While using this code to serialize an object: public object Clone() { var serializer

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.