Paypal not working properly

here is the situation paypal works on paypals side but when the customer is returned to the store front it tells them that there transaction failed i did a test order and it even did it to me



Order placed

Your order has been declined by the payment processor. Please review your information and contact store administration.





so what is going on this is just started happening at the same time i have been having issues with google checkout not charging shipping charges



thank you

calvin

Calvin

Check this thread…maybe it will help



[URL=“http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=765”]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=765[/URL]

yea but where on cpanel is the folder paypal.php ?

payments/cc_processors via ftp


tryed that but still leaving a issue with failed status on return

Yea…

in sp3 there is a bug in paypal.php.



Replace this part in payments/cc_processors/paypal.php


} elseif ($mode == 'return') {
$order_info = fn_get_order_info($order_id);
if ($order_info['status'] == 'O') {
$pp_response['order_status'] = 'F';
$pp_response["reason_text"] = fn_get_lang_var('text_transaction_declined');
include PAYMENT_FILES_DIR . 'payment_cc_complete.php';
}
if (!defined('ORDER_NOTIFICATION_SENT')) {
define('ORDER_NOTIFICATION_SENT', true);
}
fn_order_placement_routines($order_id, @$notify_user);
}




with this:


} elseif ($mode == 'return') {
fn_define('ORDER_NOTIFICATION_SENT', true);
fn_order_placement_routines($order_id, @$notify_user);

} elseif ($mode == 'cancel') {
$order_info = fn_get_order_info($order_id);
$pp_response['order_status'] = 'F';
$pp_response["reason_text"] = fn_get_lang_var('text_transaction_declined');

include PAYMENT_FILES_DIR . 'payment_cc_complete.php';
fn_order_placement_routines($order_id, @$notify_user);
}

[quote name=‘ThomH’]Yea…

in sp3 there is a bug in paypal.php.



Replace this part in payments/cc_processors/paypal.php


} elseif ($mode == 'return') {
$order_info = fn_get_order_info($order_id);
if ($order_info['status'] == 'O') {
$pp_response['order_status'] = 'F';
$pp_response["reason_text"] = fn_get_lang_var('text_transaction_declined');
include PAYMENT_FILES_DIR . 'payment_cc_complete.php';
}
if (!defined('ORDER_NOTIFICATION_SENT')) {
define('ORDER_NOTIFICATION_SENT', true);
}
fn_order_placement_routines($order_id, @$notify_user);
}




with this:


} elseif ($mode == 'return') {
fn_define('ORDER_NOTIFICATION_SENT', true);
fn_order_placement_routines($order_id, @$notify_user);

} elseif ($mode == 'cancel') {
$order_info = fn_get_order_info($order_id);
$pp_response['order_status'] = 'F';
$pp_response["reason_text"] = fn_get_lang_var('text_transaction_declined');

include PAYMENT_FILES_DIR . 'payment_cc_complete.php';
fn_order_placement_routines($order_id, @$notify_user);
}

[/QUOTE]



thanks for that help it now is working like it should i did a test order on my own and used my other paypal acct to pay with and it came back processed so it works now

Please tell me exactly where is located this paypal.php



tnx

[quote name=‘moor’]Please tell me exactly where is located this paypal.php



tnx[/QUOTE]



Have you read anything above your post?