close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

paypal APIs

Thread began 7/20/2010 5:45 am by yo410197 | Last modified 7/21/2010 4:37 pm by Jason Byrnes | 891 views | 7 replies |

yo410197

paypal APIs

i am trying to grant API permissions in paypal for powerstore. site is hosted on a third party server so paypal is asking for me to enter API account username and asking me to select my API acces level? it says to contact the cart solution provider tp get this? how do i find this out?

Sign in to reply to this post

Jason ByrnesWebAssist

do not select the "Grant API Access Option", instead, you should select the "Request API Credentials" option.


See the "Signing up with the PayPal payment gateway" tutorial on the learning resources page:
resources.php

Sign in to reply to this post

yo410197

2 options

paypal gives me two options for requesting API credentials.

option 1 is for if powerstore is hosted and managed by a third party.

option 2 is for if powerstore is hosted on my own server.

-my powerstore is hosted on a third party server so i have selected option one and before paypal will grant my API credentials it is requiring an API account username which paypal says i request from the shopping cart solution provider which would be yourself?

Sign in to reply to this post

Jason ByrnesWebAssist

your interpretation is incorrect.

Use option 2 for if powerstore is hosted on my own server.

Sign in to reply to this post

yo410197

hosting

the server isnt my own though? ive paid for hosting from a hosting provider so do i still use option 2? if this is the case then this is fine to grant the API credentials as i have already done this and received the permissions on friday and placed them into the payment settings in the admin section of the site but customers are still unable to pay through the site and no records are being saved from customers attempting to purchase through the site? Will this now be an issue with paypal?

Sign in to reply to this post

Jason ByrnesWebAssist

you need to select the "Request API Credentials" option, not the "Grant API Access Option".


Do not use the api details from the "Grant API Access Option", this will cause transactions to faile.

use the API details from the "Request API Credentials" option.

Sign in to reply to this post

yo410197

paypal US

i read on another post that problems can occur if the paypal pro is not a US version is this correct? the paypal setup is through a paypal.com/uk setup could this cause integration problems?

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to the checkout failure page:

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



this will write the full request and full response from the payment gateway to the screen to help us see what is wrong.

NOTE: THe full request and full response will contain sensitive information, please remove any sensitive information before posting it here.

Sign in to reply to this post

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