close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PayPal checkout not working

Thread began 4/19/2010 3:01 pm by sales401386 | Last modified 4/21/2010 9:10 pm by Jimmy Wu | 896 views | 9 replies |

sales401386

PayPal checkout not working

I have set up my site with all the API information required from PayPal but any time that a transaction is made, the customer receives this error message "Transaction Not Completed
We're sorry

Your transaction could not be completed. Either your credit card information or billing address has problems and cannot be processed

Please return to checkout and try again."

What is going wrong? Any help would be greatly appreciated.

Sign in to reply to this post

i.edwards384429

update

Hi

try going into the admin and ensure that in the tabs

site is not set to "test mode" and in the tab payment information "Sandbox" is not selected.

If that does not cure it try altering the following code


function WA_PP_ECO_CallSOAP($sXML, $useSB) {
$soapObj = new WAPPECOSOAPObject;
$soapObj->soapURL = "https://api-3t.paypal.com/2.0/";
if ($useSB) {
$soapObj->soapURL = "https://api-3t.sandbox.paypal.com/2.0/";
}

I changed them to this (I commented out the PayPal sandbox URL, and the URL is now universally set to the PayPal non-sandbox URL):
function WA_PP_ECO_CallSOAP($sXML, $useSB) {
$soapObj = new WAPPECOSOAPObject;
$soapObj->soapURL = "https://api-3t.paypal.com/2.0/";
if ($useSB) {
$soapObj->soapURL = "https://api-3t.paypal.com/2.0/";
// $soapObj->soapURL = "https://api-3t.sandbox.paypal.com/2.0/";
}

HTH

Ian

Sign in to reply to this post

sales401386

I saw that in a search earlier, tried it, but it did not work. Any other suggestions?

Sign in to reply to this post

Jimmy Wu

to be able to tell the reason for the failure, we need to know the full response from the gateway. add the following code to your failure page to output the full request and full response from the gateway, this will help us in determining the cause of the problem:

php:
<?php  

 
if(!session_id()) session_start(); 
 if(
$WAGLOBAL_Gateway == ) { 
     echo 
"<p>Direct Pay: <br />"
     echo 
"Full Request: ".(isset($_SESSION["PP_DirectPayment_postedValues"])?htmlentities($_SESSION["PP_DirectPayment_postedValues"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["PP_DirectPayment"])?htmlentities($_SESSION["PP_DirectPayment"]):"n/a")."<br /></p>";  
     echo 
"<p>Express Authorize <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Auth_Request"])?htmlentities($_SESSION["ECO_Auth_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Auth_Result"])?htmlentities($_SESSION["ECO_Auth_Result"]):"n/a")."<br />"
     echo 
"<p>Express Process: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Process_Request"])?htmlentities($_SESSION["ECO_Process_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Process_Result"])?htmlentities($_SESSION["ECO_Process_Result"]):"n/a")."<br /></p>"
 } 
  
 if(
$WAGLOBAL_Gateway == 2) { 
     echo 
"<p>Auth Net: <br />"
     echo 
"Full Request: ".(isset($_SESSION['WAAuthNet_postedValues'])?htmlentities($_SESSION['WAAuthNet_postedValues']):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION['WAAuthNet'])?htmlentities($_SESSION['WAAuthNet']):"n/a")."<br /></p>"
 } 
  
  if(
$WAGLOBAL_Gateway == ) { 
     echo 
"<p>Express Authorize: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Auth_Request"])?htmlentities($_SESSION["ECO_Auth_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Auth_Result"])?htmlentities($_SESSION["ECO_Auth_Result"]):"n/a")."<br /></p>"
     echo 
"<p>Express Process: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Process_Request"])?htmlentities($_SESSION["ECO_Process_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Process_Result"])?htmlentities($_SESSION["ECO_Process_Result"]):"n/a")."<br /></p>"
  } 
   
 if(
$WAGLOBAL_Shipping == 1) { 
     echo 
"<p>UPS: <br />"
     echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_UPS_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_UPS_FullRequest"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_UPS_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_UPS_FullResponse"]):"n/a")."<br /></p>";  
 } 
 if(
$WAGLOBAL_Shipping == 2) { 
     echo 
"<p>FedEX: <br />"
     echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_FedEx_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_FedEx_FullRequest"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_FedEx_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_FedEx_FullResponse"]):"n/a")."<br /></p>";  
 } 
 if(
$WAGLOBAL_Shipping == 3) { 
     echo 
"<p>USPS: <br />"
     echo 
"Full Request: ".(isset($_SESSION["WA_Store_Cart_USPS_FullRequest"])?htmlentities($_SESSION["WA_Store_Cart_USPS_FullRequest"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["WA_Store_Cart_USPS_FullResponse"])?htmlentities($_SESSION["WA_Store_Cart_USPS_FullResponse"]):"n/a")."<br /></p>";  
 } 
?>



NOTE:

The full request and full response will contain sensitive information like credit card number or paypal credentials, please block these values out before posting.

Sign in to reply to this post

i.edwards384429

update

Hi

What have you modified in the site?

MY next step would be to

1. backup my work to date.

2. Drop an sql file of the database

3. Delete the database

4. Delete the web site.

5. I'd upload a fresh copy of PS3

6. Run the install program

7. When you reach the admin stage input the paypal express details

8. Create and item costing $1

9. register an email address and buy that item.

You have then eliminated all your work and are left with a problem either with paypal or the WA code. If it still does not work then there is code on the forum you can add to pages for fault finding but it is essential that you work with a clean installation.

Let us know how you get on

HTH

Ian

Sign in to reply to this post

sales401386

Originally Said By: i.edwards384429
  Hi

What have you modified in the site?

MY next step would be to

1. backup my work to date.

2. Drop an sql file of the database

3. Delete the database

4. Delete the web site.

5. I'd upload a fresh copy of PS3

6. Run the install program

7. When you reach the admin stage input the paypal express details

8. Create and item costing $1

9. register an email address and buy that item.

You have then eliminated all your work and are left with a problem either with paypal or the WA code. If it still does not work then there is code on the forum you can add to pages for fault finding but it is essential that you work with a clean installation.

Let us know how you get on

HTH

Ian  



I haven't changed anything on the site except added the information to build it and the required PayPal and UPS information. I tried adding the code above to the "pp_checkout_failure.php" page but it showed nothing except the same error message. I copied and pasted it in both the beginning and the end of the code presently on the page.

Sign in to reply to this post

Jimmy Wu

Did you make sure to upload the page after making the changes? Are you checking out using express checkout or regular checkout? What page did you add the code to?

Sign in to reply to this post

sales401386

Originally Said By: Jimmy Wu
  Did you make sure to upload the page after making the changes?  



Yes I did.

Originally Said By: Jimmy Wu
  Are you checking out using express checkout or regular checkout?  



Both.

Originally Said By: Jimmy Wu
  What page did you add the code to?  



As stated above, the "pp_checkout_failure.php" page (in the body as was stated in another post).

With all the different posts here about the same issue, it appears as though the software has bugs. I purchased this for the ease of setting up my website but it has not been very easy (or quick) to get any resolution to my problem. If this can't be resolved, please contact me so I can get a refund.

Sign in to reply to this post

Jimmy Wu

I have opened a backend ticket to look into this issue further with you. To check your backend tickets log in to your account at www.webassist.com and check your support history.

Sign in to reply to this post

sales401386

According to PayPal, the first API cal is going through to them and responded to but nothing happens after that. He confirmed that I have the Payment Information boxes filled out properly for my PayPal. I hope to get this resolved soon as the whole reason for buying a pre-made site was I don't have the web making capabilities or knowledge.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...