close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PS3 Problems with PayPal Express Checkout

Thread began 3/11/2010 10:34 am by Tom M | Last modified 3/24/2010 2:45 pm by stuff223820 | 4956 views | 27 replies |

Tom M

PS3 Problems with PayPal Express Checkout

I've configured and populated my PS3 store and am having a big problem with PayPal Express Checkout.


  1. I initiate the checkout process and I am directed to the PayPal site to make a payment
  2. I go through the login process and specify payment method, etc.
  3. I am then returned to my PS3 Confirmation Page where there is *no* information related to PayPal Express Checkout Info or Shipping Info. (see attached screenshot).


I *have* tested this using my PayPal dev sandbox and it works there. Is there some PayPal account parameter I need to set up other than the API credentials in order to get this to work?!

Thanks,

TM

Sign in to reply to this post

i.edwards384429

update

Hi

I'm having exactly the same issue, which support and I are trying to sort.

In my case it apparently is faulty API credentials.

I am attempting to locate paypal support email/phone number because apparently it's thier problem.

Watch this space

cheers

Ian

Sign in to reply to this post

Tom M

I don't know how you got your API credentials into PS3, but I copied and pasted the ones I am using directly out of the PayPal API screen. If you did the same, how could they be faulty?

Is there some diagnostic code we can drop into the Confirmation page to provide more info?

Sign in to reply to this post

i.edwards384429

update

Hi

on the first occasion I copied and pasted, on the second I copied them into notepad.

I finaly selected view source and copied and pasted from the HTML code.

My last test was to create a new api set using my own payupal account however it appears these credentials were wrong as well.

I have two shops waiting to launch but neither appear to work with Paypal UK

really weird.

Wish I could give you a solution but in a way I'm happy because at least I know it's not me

cheers

Ian

Sign in to reply to this post

Tom M

Were you able to test your stores successfully in a PayPal Dev Sandbox?

I tested mine and everything was great. I try to go live and pow! it doesn't work.

Sign in to reply to this post

i.edwards384429

Update

Hi again

forgot yes there is code to put in: ( not from me from tech support)

To add this into the page open up your pp_confirm and go into split view. Select the area of the page where it lists the PayPal Express Checkout Info, in here past the following code into the code area:

full request for get profile is: <?php echo $WA_PP_ECO_GetResult->fullRequest; ?><br/>full response for get profile is: <?php echo $WA_PP_ECO_GetResult->fullResponse; ?>

The results meant zero to me but according to support they indicate bad credentials

Cheers

Ian

Sign in to reply to this post

Eric Mittman

There is a larger set of debug code to help determine what the problem with the checkout might be. You can add this code into any of the checkout pages to see the status of the interaction with the PayPal API, just add the code where you would like to see the info:

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>";  } ?>



There should be an error message and number that is returned that you could look up within the PayPal API reference to tell you just what the error means. If you have a hard time determining what the error is that you are getting let us know and we can look into this response with you. You can post the response that you get here on the forum but remember to remove any sensitive details from it first.

Sign in to reply to this post

i.edwards384429

update

Hi

couple of things that might be of interest to you

I've noticed you can go all the way through to the paypal site with out registering as a user. Not sure if this is good or bad

Second I ran the code eric left for you on my site and got whats below:

I have checked the three credentials (deleted here) and they are identical to the paypal issued details.

Isn't life fun?

Ian

Express Authorize:
Full Request: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents"><Username>DAVID.GARVEY_api1.xxxxxx.COM</Username><Password>UC</Password><Signature>AFT3vDXNtFoWWP2aFdr6</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"><SetExpressCheckoutRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.20</Version><SetExpressCheckoutRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><OrderTotal currencyID="GBP">1.00</OrderTotal><ReturnURL>http://www.mbsuk.co.uk/pp_confirm.php</ReturnURL><CancelURL>http://www.mbsuk.co.uk/pp_cancel.php</CancelURL><PaymentAction>Authorization</PaymentAction></SetExpressCheckoutRequestDetails></SetExpressCheckoutRequest></SetExpressCheckoutReq></soap:Body></soap:Envelope>
Full Response: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Header><Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"></Security><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"><Username xsi:type="xs:string"></Username><Password xsi:type="xs:string"></Password><Signature xsi:type="xs:string">AFT3vDXNtFoWWP2aFdr6yLxBX5p.AGDwxI7l5W.xbPzgZwIyTgsPVafw</Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><SetExpressCheckoutResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2010-03-11T20:56:26Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">86907a8f24f3c</CorrelationID><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.20</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1227335</Build><Token xsi:type="ebl:ExpressCheckoutTokenType">EC-2CN0094953126153X</Token></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>


Express Process:
Full Request: n/a
Full Response: n/a

Sign in to reply to this post

Tom M

Security errorSecurity header is not valid10002Error2.201227335unverified

Sign in to reply to this post

Tom M

I spoke with PayPal Tech Support after talking to several other people and then sitting on hold for a looooong time. The tech support person said that while the "Set Express Checkout" API call is going to the "correct endpoint", either the "Get Express Checkout Payment Detals" or the "DoExpressCheckoutPayment" API call is going to the wrong endpoint possibly a sandbox.

The net-net to me is that it doesn't work and I'm caught between WebAssist and PayPal Tech Support.

TM

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...