Direct Payment (Paypal) Question
What modifications need to be made to PowerStore 2 to get PayPal Direct Payments (via PayPal) to work. I have my API for PayPal Pro but continue to be unable to get it to work. PLEASE HELP!
What modifications need to be made to PowerStore 2 to get PayPal Direct Payments (via PayPal) to work. I have my API for PayPal Pro but continue to be unable to get it to work. PLEASE HELP!
If the API Information is entered correctly, and the following variables are set in the WA_Globals file:
$WAGLOBAL_Gateway = 1;
$WAGLOBAL_Test_Mode = false;
PayPal Direct payments should be working fine.
Are you being directed to the checkout_failure.php page on checkout?
If so, does the address include a querystring variable, such as "checkout_failure.php?shipping=false"?
If you are directed to the check out failure page, add the following code to get the full request and full response from paypal:
<?php
if(!session_id()) session_start();
echo("PayPal Full Request :<br />");
echo("<code>".isset($_SESSION["PP_DirectPayment_postedValues"])?$_SESSION["PP_DirectPayment_postedValues"]:""."</code><br /><br />");
echo("Paypal Full Response :<br />");
echo("<code>".isset($_SESSION["PP_DirectPayment"])?$_SESSION["PP_DirectPayment"]:""."</code><br /><br />");
echo("USPS Full Request :<br />");
echo("<code>".isset($_SESSION["WA_Store_Cart_USPS_FullRequest"])?$_SESSION["WA_Store_Cart_USPS_FullRequest"]:""."</code><br /><br />");
echo("USPS Full Response :<br />");
echo("<code>".isset($_SESSION["WA_Store_Cart_USPS_FullResponse"])?$_SESSION["WA_Store_Cart_USPS_FullResponse"]:""."</code><br /><br />");
?>
if you are being directed to the pp_checkout_failure.php page, add this code to get the full request and full response from paypal:
<?php
if(!session_id()) session_start();
echo("Auth request: ".isset($_SESSION['ECO_Auth_Request'])?$_SESSION['ECO_Auth_Request']:""."<br /><br />");
echo("Auth Result: ".isset($_SESSION['"ECO_Auth_Result'])?$_SESSION['ECO_Auth_Result']:""."<br /><br />");
echo("Get Request: ".isset($_SESSION['ECO_Get_Request'])?$_SESSION['ECO_Get_Request']:""."<br /><br />");
echo("Get Result: ".isset($_SESSION['ECO_Get_Result'])?$_SESSION['"ECO_Get_Result']:""."<br /><br />");
echo("Preocess request: ".isset($_SESSION['"ECO_Process_Request'])?$_SESSION['ECO_Process_Request']:""."<br /><br />");
echo("Process Result: ".isset($_SESSION['ECO_Process_Result'])?$_SESSION['ECO_Process_Result']:""."<br /><br />");
?>
NOTE:
The full request and Full response will contain sensitive information such as Credit card number and API Credentials, make sure to block this information out when posting it back to us.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.