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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:53:27+00:00 2026-05-20T02:53:27+00:00

I own a website selling greeting cards. I had programmers help me build the

  • 0

I own a website selling greeting cards. I had programmers help me build the site, but upon testing, I realised that the PayPal checkout link still points to PayPal sandbox instead of the real PayPal.
I’m quite technologically challenged so after reading the technical documentation on PayPal website and looking at the scripts on my website, I tried to change the scripts but it was in vain.

I did a search for “sandbox” in my site files and found a file named uc_paypal.pages.inc, the only file with any reference to PayPal sandbox. In the file, there are 3 references to PayPal sandbox. First:

if (variable_get('uc_paypal_wpp_server', '') == 'https://api-3t.paypal.com/nvp') {
    $host = 'https://www.paypal.com/cgi-bin/webscr';
}
else {
    $host = variable_get('uc_paypal_wps_server', 'https://www.sandbox.paypal.com/cgi-bin/webscr');
}

Second:

$nvp_response = uc_paypal_api_request($nvp_request, variable_get('uc_paypal_wpp_server', 'https://api-3t.sandbox.paypal.com/nvp'));

Third:

if ($_SESSION['have_details'][$order->order_id] !== TRUE) {
    $nvp_request = array(
      'METHOD' => 'GetExpressCheckoutDetails',
      'TOKEN' => $_SESSION['TOKEN'],
);

$nvp_response = uc_paypal_api_request($nvp_request, variable_get('uc_paypal_wpp_server', 'https://api-3t.sandbox.paypal.com/nvp'));

$_SESSION['PAYERID'] = $nvp_response['PAYERID'];

$shipname = check_plain($nvp_response['SHIPTONAME']);
if (strpos($shipname, ' ') > 0) {
  $order->delivery_first_name = substr($shipname, 0, strrpos(trim($shipname), ' '));
  $order->delivery_last_name = substr($shipname, strrpos(trim($shipname), ' ') + 1);
}
else {
  $order->delivery_first_name = $shipname;
  $order->delivery_last_name = '';
}

I tried changing removing .sandbox so that it points to just .paypal.com but after uploading the amended file to the server, there seems to be no change (checkouts still redirected to .sandbox.paypal.

Have I changed the correct parameters? Should I be installing something after changing the script and how do I do that? Is there a MySQL entry that needs to be changed?

I read from paypal that there’s API certificate or signature that I should be using; where do I put that on the website? What about IPN?

  • 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-05-20T02:53:28+00:00Added an answer on May 20, 2026 at 2:53 am

    Looks like you are using Ubercart. The way to change the payment settings is to head over to:

    http://YOURSITE/admin/store/settings/payment/edit/methods

    and under the PayPal Website Payments Standard settings

    change the Paypal Server: to “Live”

    Paypal settings

    Also, you should change the code files back to what they were before.

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

Sidebar

Related Questions

I am looking to add the Google Map API to my own website, but
Consider this scenario. I have my own website, that I use as my identifier,
I work at a company that has many clients that have their own website
I own a website and I wonder if there is a script that get
I've build my own website from scratch as I needed it to be built
I need help with my decision. I want to make my own website and
I have a PHP routine that I call shell_exec to traverse my own website
I want to create control that will allow user to design his own website
On our own website, it's easy to protect against direct links to our video
I am considering creating my own website using Java and am trying to decide

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.