Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Paypal "Your order was not placed: the recipient PayPal account is wrong." Rate Topic   - - - - -

 
  • japanexp
  • Advanced Member
  • Members
  • Join Date: 02-Nov 13
  • 131 posts

Posted 02 December 2013 - 03:57 PM #1

Hi, we have a strange Paypal problem.

When paying with a credit card, the order status goes to Failed (set up for Canceled reversal, Denied and Expired) and the order message states

Payment processor response
Your order was not placed: the recipient PayPal account is wrong.

Customer also gets message "Your order was not placed: the recipient PayPal account is wrong."

However, the payment is placed correctly i.e. customer pays and gets Paypal confirmation email! But from CS Cart gets a failed order notification.

Also the order number/invoice number is not transmitted to Paypal.

In the meantime, we turned off Paypal module and switched to Paypal Express Checkout module only. Not sure what we are missing.

 
  • clips
  • Aged Resident Loon
  • Members
  • Join Date: 14-Jan 07
  • 1650 posts

Posted 18 January 2014 - 07:48 PM #2

Did you ever figure out anything here? We are getting the same error after upgrading.
Regards,
Jim

 
  • japanexp
  • Advanced Member
  • Members
  • Join Date: 02-Nov 13
  • 131 posts

Posted 22 January 2014 - 02:16 PM #3

Hi, I raised this to support and this was the conclusion:

Usually such an error occurs due to the incorrect account configuration. In this case it is better to contact PayPal support team regarding this issue.

We then switched to Paypal Express which worked, but is quite limited.

Now we have switched back to Paypal Standard, first testing it in Paypal Sandbox. There was a problem that order status did not change, but a fix was provided by support:

There is no such a bug in the standard CS-Cart installation. It seems that the problem occurs because our fn_order_placement_routines function does not work properly on the server where the store is installed. In order to resolve this issue, please replace the following part of code:
if ($order_info['status'] == STATUS_INCOMPLETED_ORDER) {
fn_change_order_status($_REQUEST['order_id'], 'O', '', false);
}

with this one:
if ($order_info['status'] == STATUS_INCOMPLETED_ORDER) {
fn_change_order_status($_REQUEST['order_id'], 'P', '', true);
}

in the paypal.php file located in the app/payments directory of your CS-Cart installation.

So my advice is to switch to Paypal Express Checkout for now and test/troubleshoot Paypal Standard in the sandbox to get it working.

 
  • Samanthar
  • Junior Member
  • Members
  • Join Date: 01-Mar 10
  • 51 posts

Posted 31 January 2014 - 05:07 AM #4

It is such a shame that Cs-cart has been so unhelpful with these problems. I too opened up a ticket and wasted credits and still suffering these problems. I had been using Version 2.2.4 for a long time and it all worked perfectly, then I upgraded to version 4.0.3 and its been a nightmare. paypal orders either go to incompleted, open (waiting for payment) and only the paypal express seems to mark the item as successfully paid but if they use paypal express it doesnt calculate the shipping properly. Although we have tried to keep up with the paypal notifications and the uncompleted and open, but not all of the incompleted orders have been paid.. its not easy and we miss them.. then we have unhappy customers which means more lost business.

I desperately need to solve this problem, this problem has only occurred since the upgrade so it has to be a bug within cs-cart as it has only occurred since the upgrade, it would be really good if they could resolve the problem rather than trying to pass the fault onto someone else.

Usually such an error occurs due to the incorrect account configuration. In this case it is better to contact PayPal support team
There is no such a bug in the standard CS-Cart installation. It seems that the problem occurs because our fn_order_placement_routines function does not work properly on the server where the store is installed. In order to resolve this issue, please replace the following part of code:
if ($order_info['status'] == STATUS_INCOMPLETED_ORDER) {
fn_change_order_status($_REQUEST['order_id'], 'O', '', false);
}

with this one:
if ($order_info['status'] == STATUS_INCOMPLETED_ORDER) {
fn_change_order_status($_REQUEST['order_id'], 'P', '', true);
}

in the paypal.php file located in the app/payments directory of your CS-Cart installation.

So my advice is to switch to Paypal Express Checkout for now and test/troubleshoot Paypal Standard in the sandbox to get it working.


japanexp - I will change the code as you have done and see if that works but i still have the problem with the open orders, but we just dont want to have orders that have not been paid int the system either

 
  • MrCntry
  • Newbie
  • Members
  • Join Date: 03-Jun 13
  • 5 posts

Posted 20 February 2014 - 02:36 PM #5

I had this same issue. The fix was extremely simple. Make sure you use your primary paypal e-mail addrerss when using paypal payments. For some reason it requires your primary paypal address. I upgraded from 3.06 to 4.1.1 and after the upgrade I had the same issue. After putting in my e-mail that paypal has as primary it worked fine.

Hope this helps.

Chris

 
  • clips
  • Aged Resident Loon
  • Members
  • Join Date: 14-Jan 07
  • 1650 posts

Posted 20 February 2014 - 04:45 PM #6

That is what ended up working for us to. Not a good fix, but it worked.
Regards,
Jim