Paypal Pro payments will not process
When trying to make a transaction we are getting an error that says "Transaction could not be completed". As per another thread I installed this code and got the response that follows. Please advise as we need to be processing transactions as soon as possible. Please note in the code output that anywhere I have used the word "hidden" that is to hide sensitive information. Thanks in advance for any help.
<?php
if(!session_id()) session_start();
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>";
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>";
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>";
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>";
?>
Here is the resultant output from the previous code as displayed on the failure page:
Direct Pay:
Full Request: n/a
Full Response: n/a
Express Authorize
Full Request: n/a
Full Response: n/a
Express Process:
Full Request: n/a
Full Response: n/a
UPS:
Full Request: <?xml version="1.0"?><AccessRequest xml:lang="en-US"><AccessLicenseNumber>hidden</AccessLicenseNumber><UserId>hidden</UserId><Password>hidden</Password></AccessRequest><?xml version="1.0"?><RatingServiceSelectionRequest xml:lang="en-US"><Request><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><RequestAction>Rate</RequestAction><RequestOption>rate</RequestOption></Request><PickupType><Code>01</Code></PickupType><Shipment><Shipper><ShipperNumber>W9607R</ShipperNumber><Address><City>hidden</City><StateProvinceCode>AL</StateProvinceCode><PostalCode>36703</PostalCode><CountryCode>US</CountryCode></Address></Shipper><ShipTo><Address><City>Selma</City><StateProvinceCode>AL</StateProvinceCode><PostalCode>36701</PostalCode><CountryCode>US</CountryCode></Address></ShipTo><Service><Code>03</Code></Service><Package><PackagingType><Code>02</Code></PackagingType><Dimensions><Length>12</Length><Width>12</Width><Height>12</Height><UnitOfMeasurement><Code>IN</Code></UnitOfMeasurement></Dimensions><PackageWeight><Weight>1.0</Weight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement></PackageWeight></Package></Shipment></RatingServiceSelectionRequest>
Full Response:
FedEX:
Full Request: n/a
Full Response: n/a
USPS:
Full Request: n/a
Full Response: n/a