|

Paypal problem (not pro), order failed
Posted 27 September 2007 - 07:58 AM #1
Even though my payments go through on paypal, customers are redirected to a page saying that order failed.
They receive a payment confirmation from paypal.
But then they also get one from my site saying that payment failed.
Any ideas? TKS
Posted 09 April 2008 - 09:00 PM #3
My system was ticking along nicely but then has just started saying payment failed when it has not AND in case it is related cs-cart is not sending emails out.
It appears to but nothing turns up.
Running an upgraded v135sp3 to v2.0.12 on live store(05/02/10) but not really right after update by Dr SnoRocket
Posted 27 April 2008 - 01:49 PM #4
The customer is not getting the option to pay the order again even though this option is ticked in settings.
Customers then have to place the order again not realising their payment has been taken. Then I have to do a refund cos they've paid twice.
BarryH
BarryH
CS-Cart v4.4.3 (Plus one being developed v4.5.2 SP2)
UK User
Posted 28 April 2008 - 12:36 AM #5
Posted 28 April 2008 - 05:46 AM #6
We have no problems receiving payments...(paypal standard)
Maybe paypal changed something again?
WebGraphiq offers a wide range of professionally developed, ready to use CS-Cart add-ons to provide additional functionality and boost your sales. The oldest active CS-Cart add-on development team. -- Since 2006 --
CS-CART ADD-ONS | FREE QUOTE | CS-CART DEVELOPMENT | @webgraphiq
Posted 06 May 2008 - 01:51 PM #7
I have the same issue, paypal looks like its doing its thing all great until you return back to the website you came from. Then you get a failed payment message even though you have taking there money

cart ver 1.3.5 SP3
Thanks
Mike
Posted 06 May 2008 - 03:54 PM #8
Tested with sandbox with different currencies and the some issue .
WebGraphiq offers a wide range of professionally developed, ready to use CS-Cart add-ons to provide additional functionality and boost your sales. The oldest active CS-Cart add-on development team. -- Since 2006 --
CS-CART ADD-ONS | FREE QUOTE | CS-CART DEVELOPMENT | @webgraphiq
Posted 06 May 2008 - 06:28 PM #9
BarryH
BarryH
CS-Cart v4.4.3 (Plus one being developed v4.5.2 SP2)
UK User
Posted 16 May 2008 - 11:14 AM #11
Few days ago I got this fix from CS support:
Replace the following part of code in the "fn_cart.php" file located in the "core" directory of your CS-Cart installation.
foreach ($cart['shipping'] as $sh_id => $method) {
if (!empty($cart['stored_shipping'][$sh_id])) {
$piece = fn_format_price($cart['stored_shipping'][$sh_id] / count($method['rates']));
foreach ($method['rates'] as $k => $v) {
with this one
foreach ($cart['shipping'] as $sh_id => $method) {
if (isset($cart['stored_shipping'][$sh_id])) {
$piece = fn_format_price($cart['stored_shipping'][$sh_id] / count($method['rates']));
foreach ($method['rates'] as $k => $v) {
Also there is one bug with shipping when making backorder.
Posted 16 May 2008 - 03:21 PM #13
Paypal is my ONLY payment processor and thus I've had to take down my store entirely to avoid any further issues until this is resolved. Needless to say I'm not a happy camper right now.
Posted 16 May 2008 - 06:17 PM #14
Anyone know if this just affects SP3?
Paypal is my ONLY payment processor and thus I've had to take down my store entirely to avoid any further issues until this is resolved. Needless to say I'm not a happy camper right now.
Posted 17 May 2008 - 06:21 AM #15
On sp2 no error only in sp3.
The mentioned bug fix does not work.
May be in fn_cart.php or in paypal.php.
I did not have time yet to look up where the mistake.
We are waiting for a working fix.
WebGraphiq offers a wide range of professionally developed, ready to use CS-Cart add-ons to provide additional functionality and boost your sales. The oldest active CS-Cart add-on development team. -- Since 2006 --
CS-CART ADD-ONS | FREE QUOTE | CS-CART DEVELOPMENT | @webgraphiq
Posted 17 May 2008 - 09:29 AM #16
} elseif ($mode == 'return') { $order_info = fn_get_order_info($order_id); [COLOR="Red"]if ($order_info['status'] == 'O') [/COLOR] $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); }
and the lines in red chande to this
if ($order_info['status'] == 'F')
The "Allow a customer to pay the order again in case the transaction was declined" will not work but the PayPal error will go off.

WebGraphiq offers a wide range of professionally developed, ready to use CS-Cart add-ons to provide additional functionality and boost your sales. The oldest active CS-Cart add-on development team. -- Since 2006 --
CS-CART ADD-ONS | FREE QUOTE | CS-CART DEVELOPMENT | @webgraphiq
Posted 17 May 2008 - 01:11 PM #17
I am too getting a problem, Payments are received to paypal no problem, but the email and status says declined and contact store admin.
It was all working fine till a couple of days ago.
I know I havent changed anything!
Suggestions please.
U
Posted 17 May 2008 - 01:45 PM #18
If you complete the [Billing Address Line 2] field, Paypal send the value of address_street variable as [Billing Address Line 1][CRLF][Billing Address Line 2] on the IPN request. This is the root cause for my INVALID responses.
eg: &address_street=[Billing Address Line 1]%0D%0A[Billing Address Line 2]
Larry
SculptingStudio.com
DigitalOcean VM
Ubuntu 14.04
Nginx
Posted 19 May 2008 - 02:43 AM #19
hope theres a patch released soon. this could equal alot of lost sales for businesses
edited: found my problem to be paypal payment option was in test mode and produced this error above by reading though the paypal.php script....working fine since its set to live now
Posted 19 May 2008 - 07:17 PM #20
Sometimes customers will try to place the order 2-3 times in a row and they sit in "open" status. On Friday however a customer called in because his order hadn't been shipped. I found out that we did receive payment in Paypal, but CS-Cart showed the order as declined.
This is frustrating because we run large sites and are losing out on sales.